From: https://gist.github.com/ww9/44f08d44327a40d2ab309a349bebec57
Code and Syntax Highlighting
Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and Markdown Here -- support syntax highlighting. Markdown Here supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the highlight.js demo page.
https://highlightjs.org/usage/
No comments:
Post a Comment