Skip to content

Esshahn/commodore-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

commodore-highlight

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

Usage:

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>

Demo

To see commodore-highlight in action: https://www.awsm.de/blog/commodore-highlight/

About

Highlight.js language support for 6502 assembly.

Topics

Resources

Stars

Watchers

Forks