You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,9 @@ simplemde.value("This text will appear in the editor");
75
75
-**strikethrough**: If set to `false`, will not process GFM strikethrough syntax. Defaults to `true`.
76
76
-**underscoresBreakWords**: If set to `true`, let underscores be a delimiter for separating words. Defaults to `false`.
77
77
-**previewRender**: Custom function for parsing the plaintext Markdown and returning HTML. Used when user previews.
78
-
-**singleLineBreaks**: If set to `false`, disable parsing GFM single line breaks. Defaults to `true`.
78
+
-**renderingConfig**: Adjust settings for parsing the Markdown during previewing (not editing).
79
+
-**singleLineBreaks**: If set to `false`, disable parsing GFM single line breaks. Defaults to `true`.
80
+
-**codeSyntaxHighlighting**: If set to `true`, will highlight using [highlight.js](https://github.com/isagalaev/highlight.js). Defaults to `false`. To use this feature you must include highlight.js on your page. For example, include the script and the CSS files like: `<script src="https://cdn.jsdelivr.net/highlight.js/latest/highlight.min.js"></script>` and `<link rel="stylesheet" href="https://cdn.jsdelivr.net/highlight.js/latest/styles/github.min.css">`
79
81
-**spellChecker**: If set to `false`, disable the spell checker. Defaults to `true`.
80
82
-**status**: If set to `false`, hide the status bar. Defaults to `true`.
81
83
- Optionally, you can set an array of status bar elements to include, and in what order.
@@ -111,7 +113,10 @@ var simplemde = new SimpleMDE({
0 commit comments