Getting started with MUDS editor

Simply paste the following snippet in your code where you want MUDS editor to appear.


<!-- Include the MUDS stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/muds.min.css">

<!-- Create the editor container -->
<textarea id="editor"></textarea>

<!-- Include the MUDS library -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/muds.min.js"></script>

<!-- Initialize MUDS editor -->
<script>
var muds = new muds({
    selector: 'editor'
});
</script>
                    

                    

                

Or install the library with NPM: npm i muds-editor. Alternatively you can download the newest version and run MUDS locally.