Created
March 11, 2026 01:54
-
-
Save csgordon/ba9553e11286d32879c2ee4dedfd99f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \<html:link>[rel]{stylesheet}[href]{https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/dark.min.css} | |
| \<html:script>[type]{module}{ | |
| import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/es/highlight.min.js'; | |
| import ocaml from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/es/languages/ocaml.min.js'; | |
| hljs.registerLanguage('ocaml', ocaml); | |
| hljs.highlightAll(); | |
| } | |
| \p{Now we can syntax highlight some code} | |
| \<html:pre>{\<html:code>[class]{language-ocaml}{let id x = x;;}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment