Hi, please find an updated repo on Github. I have updated link, string, and pragma recognition. Fixed a few other syntax bugs. You will definitely see a lot more higlighting.
Next up, improving Filter highliting. Best, Joshua Fontany On Saturday, March 28, 2020 at 12:52:08 PM UTC-7, Joshua Fontany wrote: > > Hi! > > I've thrown together a quick extension for Visual Studio Code to enable > syntax highlighting. I have not yet added it to the MS Marketplace, so you > cannot find it through VSCode's Extensions tab quite yet... > > Find the github repo here: > > https://github.com/joshuafontany/VSCode-TW5-Syntax > > Clone it to your Extensions folder as described here: > https://vscode-docs.readthedocs.io/en/stable/extensions/install-extension/ > > --- > > I use Bob on Node.js and author plugins as folders separate from my > tiddlywiki and wikis directories. This means I am often tweaking or editing > UI tiddlers, etc, etc inside of plugins while the server is down, then > restart it to run tests, etc. Syntax highlighting is going to be a huge > benefit to this workflow. > > > At this time I am mainly relying on a "named" syntax-highlighiting grammar > built for the Atom text editor. This grammar is fairly well developed, but > can totally be improved as I learn more about syntax highlighting., > > > There may be another way to set this up, instead of making up a language > named "TiddlyWiki5" I could "inject" the wikitext rules into the base HTML > context. Then setup the field-contexts to be pared as HTML(Extended).... > > > But for now this one that defines rules for most of the wikitext as a new > language will do. > > Best, > > Joshua Fontany > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/6c8a7d28-5bd7-4273-b9dd-fb6aa584bc41%40googlegroups.com.