Closed ibhagwan closed 1 year ago
Tables are part of Github flavored markdown which is an extension of the CommonMark spec. I plan to add support for Github flavored markdown including tables, but so far haven't gotten around to it.
Tysm, looking forward to it!
FYI, I updaed my fork of babelfish.nvim
to work against your new parser, code is ugly as hell with a couple of hacks to support tables and other minor adjustments (TBH, the original code wasn't all that great to begin with) but it does work, and it does produce a fantastic result for my plugin's vimdoc, in case you wanna check it out:
That looks great. I hope I will get to tables soon so the official repo for babelfish can use this parser. But I think I won't get too much done over Christmas
Should work with the newest commit :tada:
First, great job on this and ty for taking ownership on mardown in neovim treesitter :-)
Are tables supported? I'm using treesitter to auto-generate vimdoc for my plugin from the README, I used to do with https://github.com/ikatyang/tree-sitter-markdown which recognized the below as table, this seems not to be the case here.
Are tables supported?
For reference, here's how it's parsed with the ikatyang: