diff --git a/README.md b/README.md index 3f2bdb8..2dbeb43 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ easyMDE.value('New input for **EasyMDE**'); - table - **lineWrapping**: If set to `false`, disable line wrapping. Defaults to `true`. - **minHeight**: Sets the minimum height for the composition area, before it starts auto-growing. Should be a string containing a valid CSS value like `"500px"`. Defaults to `"300px"`. +- **maxHeight**: Sets fixed height for the composition area. `minHeight` option will be ignored. Should be a string containing a valid CSS value like `"500px"`. Defaults to `false`. - **onToggleFullScreen**: A function that gets called when the editor's full screen mode is toggled. The function will be passed a boolean as parameter, `true` when the editor is currently going into full screen mode, or `false`. - **parsingConfig**: Adjust settings for parsing the Markdown during editing (not previewing). - **allowAtxHeaderWithoutSpace**: If set to `true`, will render headers without a space after the `#`. Defaults to `false`. @@ -244,10 +245,10 @@ var editor = new EasyMDE({ underscoresBreakWords: true, }, placeholder: "Type here...", - + previewClass: "my-custom-styling", previewClass: ["my-custom-styling", "more-custom-styling"], - + previewRender: function(plainText) { return customMarkdownParser(plainText); // Returns HTML from a custom parser },