A downloadable userscript

Download NowName your own price

This userscript adds syntax highlighting for a number of GameMaker-related community forums:

Has separate syntax color schemes for dark and light site themes,

  • Dark theme is based on the standard colors in GameMaker Studio 2.
  • Light theme is based on my running edit of classic GM color scheme.

If desired, you can add a userstyle on top of the userscript to customize colors, or edit the userscript to support additional websites.

On the technical side, this is based on the parser that I use for my blog posts - the algorithm builds a list of tokens by looping through the code, does minor post-processing (to highlight local variables), and outputs a small pile of <span> elements and text nodes.

Also see syntax highlighting for GameMaker manual.

More information

Published 19 days ago


Download NowName your own price

Click download now to get access to the following files:


Leave a comment

Log in with your itch.io account to leave a comment.