A Marked.js and Highlight.js example, wrapped in a self-contained HTML file.
Run a simple HTTP server from within the directory to locally view the example with:
python3 -m http.server 9000
See this medium article for a comprehensive explaination and breakdown of the example.