Official website: https://highlightjs.org/
Function:
support for parsing of 155 programming languages; with 73 styles
Automatic detection of programming languages
Can be run on the node. JS Platform
Support for various labels
Compatible with any JS frame
Official Demo: https://highlightjs.org/static/demo/
How to use
<!--put it in . -<Linkrel= "stylesheet"href= "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/styles/default.min.css"><!--put it on the back of </body> -<Scriptsrc= "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></Script><Script>hljs.inithighlightingonload ();</Script>//above is the introduction of files<Pre><Codeclass= "html php css">The code to highlight</Code></Pre>
Official documents: https://highlightjs.org/usage/English version
http://www.ghostchina.com/adding-syntax-highlighting-to-ghost-using-highlight-js/Chinese Version
Supported languages: https://highlightjs.org/download/can be seen in this area.
English Manual: Http://highlightjs.readthedocs.io/en/latest/index.html
Highlight.js page Code highlighting