standardnotes / markdown-basic

[Moved to https://github.com/standardnotes/app] A basic Markdown editor for Standard Notes
https://standardnotes.com
GNU Affero General Public License v3.0
11 stars 12 forks source link

Automatic Code Highlight #5

Closed ghost closed 5 years ago

ghost commented 6 years ago

If I am not mistaken, highlight.js that is in use by the project for code highlighting, provides automatic code highlighting (no need to specify language initials after ```).

I think it would be nice to enable this in simple markdown editor (and for the rest of markdown editors too)

moughxyz commented 6 years ago

Good point. Although, we're using markdown-it-highlight, which is a wrapper on top of highlight.js. Will likely have to fork it to get this functionality.

moughxyz commented 5 years ago

This is now available in the editor.