Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 793 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 793 Bytes

CodeAssign Editor

Is a SimpleMDE Markdown editor powerd by MarkJax parser.

To use it you need to include both SimpleMDE and MarkJax into your page:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
<script type="text/javascript" src="https://codeassign.github.io/markjax/dist/markjax.min.js"></script>

and now when you create new SimpleMDE object you need to specify custom previewRender function which uses MarkJax:

var simplemde = new SimpleMDE({                                                                                      
  previewRender: markjax
});