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
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,14 @@ simplemde.value("This text will appear in the editor");
77
77
-**hideIcons**: An array of icon names to hide. Can be used to hide specific icons without completely customizing the toolbar.
78
78
-**indentWithTabs**: If set to `false`, indent using spaces instead of tabs. Defaults to `true`.
79
79
-**initialValue**: If set, will customize the initial value of the editor.
80
+
-**insertTexts**: Customize how certain buttons that insert text behave. Takes an array with two elements. The first element will be the text inserted before the cursor or highlight, and the second element will be inserted after. For example, this is the default link value: `["[", "](http://)"]`.
81
+
- horizontalRule
82
+
- image
83
+
- link
80
84
-**lineWrapping**: If set to `false`, disable line wrapping. Defaults to `true`.
81
85
-**parsingConfig**: Adjust settings for parsing the Markdown during editing (not previewing).
82
-
-**allowAtxHeaderWithoutSpace**: If set to `true`, will render headers without a space after the `#`. Defaults to `false`.
83
-
-**strikethrough**: If set to `false`, will not process GFM strikethrough syntax. Defaults to `true`.
86
+
-**allowAtxHeaderWithoutSpace**: If set to `true`, will render headers without a space after the `#`. Defaults to `false`.
87
+
-**strikethrough**: If set to `false`, will not process GFM strikethrough syntax. Defaults to `true`.
84
88
-**underscoresBreakWords**: If set to `true`, let underscores be a delimiter for separating words. Defaults to `false`.
85
89
-**previewRender**: Custom function for parsing the plaintext Markdown and returning HTML. Used when user previews.
86
90
-**renderingConfig**: Adjust settings for parsing the Markdown during previewing (not editing).
@@ -105,6 +109,11 @@ var simplemde = new SimpleMDE({
0 commit comments