Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Syntax Highlighting

Showing how to add code syntax highlighting and easy copying to clipboard.

Uses highlight.js and marked.

Screenshot

Include all the links and scripts in your headers then add markdown to a div with the class marked (or anything, configured by setting the selector sel) and any code in it will be highlighted and have a copy button.