Syntax Highlighting for your website based on highlightjs.org.
Currently supported:
- (okayish) ACME assembly language for the 6502 CPU family (e.g. Commodore 64)
- (wonky) BASIC (2.0, 3.5, 7.0) language fro the Commodore 264, 64, 128
For official implementation information, check out highlightjs.org and the usage guide.
If you just want to integrate highlight.js and commodore-highlight, this is what your website header could look like:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/monokai-sublime.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/your/lokal/js/path/commodore-highlight.js"></script>
To see commodore-highlight in action: https://www.awsm.de/blog/commodore-highlight/