Skip to content

codeassign/editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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
});