Closed snoblenet closed 3 weeks ago
The problem is that tree-sitter
won't recognize nodes the same way.
Same text, completely different syntax.
So, you have to make a new parser function for org-mode
.
Of course, it's not impossible. It's just that it takes a while to do(more so because I have used org-mode
only once)
After messing around a bit I have noticed a few issues.
Mainly,
Thanks for looking into it. I've been looking at myself. Orgmode has built-in export-to-HTML functionality, so it's probably simpler for me to piggyback on that with a plugin-free solution.
Very cool indeed.
I'm wondering whether it would be viable to support other markup languages that have Treesitter grammars and similar types of entities.
In particular, I'm wondering whether it would be viable to support Orgmode.