Vincent Prouillet
Vincent Prouillet
Maybe we can make the extensions configurable or just load everything in the templates directory? JS/SVG should not conflict with Tera syntax
Most of the tm grammars are written with onig in mind, regex doesn't have look around or backtracking which is definitely used in some places
> Why not have the options between proposed highlighters, instead of only one ? Too much work and inconsistencies. > Isn't some license problems with VScode syntax, due to MS...
Nice! I got it to loading deserializing grammars a few months ago but realised i wouldn't have the time to do anything on it. I didn't know about the oniguruma...
I've started working on a textmate highlighter in Rust, it's not done yet but it can match the tokenization of vscode-textmate for languages like Rust/JS/Python. I need to add support...
Update: ``` running 1 test test registry::tests::test_all_grammar_snapshots ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 34 filtered out; finished in 5.95s ``` That's 222 grammars...
I've made https://github.com/getzola/giallo public Still only a very basic renderer, mostly looking for ideas around https://github.com/getzola/giallo/issues/4
Ah, it was using tree-sitter 3 years ago x) let me update that
One interesting fact in terms of size: the compressed dump for 220 languages and 60 themes is about 1.7MB. Compare that with tree-sitter grammars where a single one can be...
The tricky part is handling shortcodes. It might be easier once content is actually templated (unlike now where shortcodes needs parsing). Asciidoc though it not getting any popular and not...