Lang-tiddlywiki for CodeMirror-6 is now a public repository

Hi there, I’ve made the repository that contains the code for the CodeMirror-6 TiddlyWiki5-syntax parser public.

I hope that like that we can improve the parser together.

For issues with lang-tiddlywiki, please create an issue here: Issues · BurningTreeC/tiddlywiki-codemirror-parser · GitHub

To see the parser in action, please go to the website @Xyvir has built and provided here: My TiddlyWiki — a non-linear personal web notebook


Please use this thread for TW5-CM6-parser specific questions, issues, ideas and alike.

Thank you,
Simon

4 Likes

This is worth mentioning, too

This repository contains ALL the codemirror-6 plugins.
I’ve set up an automation process: When the parser repo above gets updated, the codemirror-6 plugins get updated automatically.

2 Likes

Is “the parser” all about language support in Code Mirror? I have found it difficult identifying exactly what “Lang-tiddlywiki” is about and how it compares to standard code mirror. I may be just missing something but I expect others may also.

@BurningTreeC please just add a little more description here

@Xyvir please place a little more info on a home tiddler of the Demo, at the moment it is so vanilla people may wonder why they are on an “empty wiki”.

1 Like

Hi @TW_Tones

Yes, the parser is all about TiddlyWiki5 language-support in Codemirror.
lang-tiddlywiki is basically the Codemirror6 TiddlyWiki5 parser that reads the text from the editor and creates structured chunks that get categorized and allow for syntax highlighting and context-aware autocompletion.

Standard Codemirror (Codemirror 5) doesn’t have TiddlyWiki5 language-support at all.

1 Like