theforce icon indicating copy to clipboard operation
theforce copied to clipboard

Add syntax highlighting

Open mirdaki opened this issue 2 years ago • 5 comments

It would be great to have basic syntax highlighting in editors. As a place to start, it seems Textmate grammar is the standard way to do that, to support things like VSCode

mirdaki avatar Sep 12 '23 18:09 mirdaki

I didn't know there was this much #00FF00 in the whole galaxy...

I've created a repository for this and invited you @mirdaki (happy to transfer as well).

Testing it locally with the example files it all seems to work well!
It's configured ready to be published, I'm happy to share links to info I found on this if needed.

GregT2207 avatar Apr 09 '25 16:04 GregT2207

Oh that's fantastic! I will try to look though it soon. Once it's published I'll make sure to update the README with information on using it. Thank you for putting it together

mirdaki avatar Apr 10 '25 04:04 mirdaki

@GregT2207 I was able to give it a look over and it seems to cover everything. Feel free to publish when you're ready!

mirdaki avatar Apr 30 '25 05:04 mirdaki

here's my VSCode extension to help with authoring TextMate grammars https://marketplace.visualstudio.com/items?itemName=RedCMD.tmlanguage-syntax-highlighter

RedCMD avatar Aug 14 '25 21:08 RedCMD

Certainly seems helpful! Thanks for sharing @RedCMD

mirdaki avatar Aug 15 '25 23:08 mirdaki