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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please tell me how to add these: syntax highlighting, theme and autocomplete. Here is my code:
<link rel="stylesheet" href="//cdn.jsdelivr.net/simplemde/latest/simplemde.min.css"> <script src="//cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> <textarea id="MyID" name="content"><?= @$data['content'] ?></textarea> // SimpleMDE Config var simplemde = new SimpleMDE({ element: document.getElementById("MyID"), //autofocus: true, //lineWrapping: false, placeholder: "Type here...", renderingConfig: { singleLineBreaks: false, codeSyntaxHighlighting: true, }, toolbar: ["preview", "side-by-side", "fullscreen"], });
How do I add my own styles and scripts inside the editor so that it doesn't affect global styles? Example:
var simplemde = new SimpleMDE({ css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/uikit.min.css js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit.min.js });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please tell me how to add these: syntax highlighting, theme and autocomplete.
Here is my code:
How do I add my own styles and scripts inside the editor so that it doesn't affect global styles?
Example:
The text was updated successfully, but these errors were encountered: