GML syntax highlighter
A downloadable userscript
Download NowName your own price
This userscript adds syntax highlighting for a number of GameMaker-related community forums:
- forum.yoyogames.com (official community)
- /r/gamemaker subreddit
- forum.hellroom.ru (one of the larger Russian communities)
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.
Status | Released |
Category | Tool |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | YellowAfterlife |
Tags | userscript |
Download
Download NowName your own price
Click download now to get access to the following files:
gamemaker_highlight.user.js
External
Comments
Log in with itch.io to leave a comment.
Hello. How I can use this script in my own website. I use wordpress, little knowledge about web. Any suggestion?
I have a separate, more flexible thing for that.
Nice! Thats what I am looking for