diff --git a/README.md b/README.md index 9eaf2a4..63cadc5 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,9 @@ simplemde.value("This text will appear in the editor"); - **underscoresBreakWords**: If set to `true`, let underscores be a delimiter for separating words. Defaults to `false`. - **placeholder**: If set, displays a custom placeholder message. - **previewRender**: Custom function for parsing the plaintext Markdown and returning HTML. Used when user previews. +- **promptTexts**: Customize title of the prompt box when the `promptURLs` option is set to `true` and the `image` or `url` button is clicked. + - image + - link - **promptURLs**: If set to `true`, a JS alert window appears asking for the link or image URL. Defaults to `false`. - **renderingConfig**: Adjust settings for parsing the Markdown during previewing (not editing). - **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 or pass in using the `hljs` option. For example, include the script and the CSS files like:
``
`` @@ -154,6 +157,10 @@ var simplemde = new SimpleMDE({ return "Loading..."; }, promptURLs: true, + promptTexts: { + link: "URL for the link:", + image: "URL of the image:" + }, renderingConfig: { singleLineBreaks: false, codeSyntaxHighlighting: true,