The Markprompt components support syntax highlighting of code blocks via highlight.js. In order to use it, add the following to your page head:
1<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
2<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
For custom themes, import the relevant stylesheet. Here is an example with the GitHub theme:
1<link
2 rel="stylesheet"
3 href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css"
4/>