Code Snippet for Highlight.js in Markdown Pages
This is just the snippet of code I use on pages that need syntax highlighting. I don't add them directly to the template as other pages don't need to load them.
<html><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"> </script>
<script>hljs.highlightAll();</script></html>
Just copy and paste this at the end of markdown file