Closed bertiewils closed 3 years ago
It would be nice to have syntax highlighting for code when viewing a snippet.
Something like https://github.com/highlightjs/highlight.js could work.
The language field could stay an input field, with some logic to see if the entered language = one of the supported aliases.
You could then have a line below the language field, something like:
Syntax highlighting provided by highlight.js. See the supported languages for valid options.
The alternative would be to make the language field a dropdown of supported languages, now that there are tags separately.
Thank you for a great project!
That's perfect, thank you!
It would be nice to have syntax highlighting for code when viewing a snippet.
Something like https://github.com/highlightjs/highlight.js could work.
The language field could stay an input field, with some logic to see if the entered language = one of the supported aliases.
You could then have a line below the language field, something like:
The alternative would be to make the language field a dropdown of supported languages, now that there are tags separately.
Thank you for a great project!