Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cm6

CodeMirror 6 implementation

Install

Clone this repo:

git clone https://github.com/eldoy/cm6.git
cd cm6
npm install

Build

Edit editor.mjs and run npm run pack

Include the editor.js file on your page:

<script src="editor.js">

Usage

<div id="editor"></div>
<script>
  var editor = new EditorView({
    extensions: window.extensions,
    parent: document.querySelector('#editor')
  })
</script>

License

MIT Licensed. Enjoy!

Created by Eldøy Projects

About

CodeMirror 6 implementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages