sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.89k stars 1.12k forks source link

Hide characters #751

Open Sjoerd opened 5 years ago

Sjoerd commented 5 years ago

Is it possible to hide the tokens in the editor?

(This)

Schermafbeelding 2019-04-19 om 09 35 47

(Instead of this)

Schermafbeelding 2019-04-19 om 09 35 56
luckyshot commented 4 years ago

It can be easily done with CSS:

.cm-formatting {
    display: none;
}

Edit: Has some unexpected behaviour while editing (i.e. typing # won't display anything until a space is typed). So not ideal, if there was a focus or active CSS class that would be a quick nice workaround.