crosscode-map-editor
crosscode-map-editor copied to clipboard
Highlight colours in player-facing text
Look into using https://github.com/redstonekasi/cc-textparser/ to highlight text in fields that the player can eventually see in-game. Kasi's implementation example was this:
you'd overlap a text area and the rendered output over each other and then just run cc-textparser over the input when text changes (probably debounced a bit)
An example of a text colouring implementation can be found here: https://github.com/redstonekasi/cc-textparser/blob/main/examples/markup.ts