gbdev / pandocs

The single, most comprehensive Game Boy technical reference.
https://gbdev.io/pandocs/
Creative Commons Zero v1.0 Universal
619 stars 93 forks source link

Syntax highlighting in Code Blocks - GBZ80 #6

Closed avivace closed 3 years ago

avivace commented 4 years ago

Syntax highlighting is provided by Prism. Here's an example of language definition (6502 Assembly) for it.

It should be trivial to produce something similar for the RGBDS/GBZ80 style assembly

@ISSOtm worked on something similar for highlight.js - imo we should just convert that language file in the format PrimJS requires.

ISSOtm commented 3 years ago

Fixed by #292 and the highlight.js plugin.