We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Markdown editor can be used as markdown viewer. I use this hack todo this:
const mde = new SimpleMDE({ element: document.querySelector("#profile-bio > .markdown-preview > textarea"), toolbar: ["preview"], initialValue: "Lorem **ipsum**." }); // actiate preview mode mde.togglePreview();
/* hide all editor related ui, for preview only mde */ .markdown-preview > .CodeMirror, .markdown-preview > .CodeMirror > .editor-preview { background-color: transparent; padding: 0; } .markdown-preview > .CodeMirror > .editor-preview { display: contents; } .markdown-preview > .CodeMirror > .CodeMirror-scroll { display: none; } .markdown-preview > .editor-toolbar { display: none !important; } .markdown-preview > .editor-statusbar { display: none !important; }
I would like to request the addition of this feature, with activation via option - like:
const mde = new SimpleMDE({ element: document.querySelector("#profile-bio > textarea"), initialValue: "Lorem **ipsum**.", previewMode: true });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Markdown editor can be used as markdown viewer.
I use this hack todo this:
I would like to request the addition of this feature, with activation via option - like:
The text was updated successfully, but these errors were encountered: