Syntax highlighting for Choicescript
- Choicescript commands appear in a different color than normal text
- Variables within text (${variable}) are also marked
- Variable interpolation (the @{(expression) first|second|third text} construction) is marked, with the pipe and the conditional in separate colors
- Bold, italic, and bold italic text (in the [b][/b] and [i][/i] tags) is shown in bold and italic
- The *sm_ commands for the smPlugin.js and smPluginMenuAddon.js savegame plugins are recognized as Choicescript commands
- Full text of comments is marked to contrast with story text