mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.03k stars 49 forks source link

Feature request: rendering of tables #36

Closed hyphen-four closed 3 years ago

hyphen-four commented 3 years ago

Hi, I've only used this program for about 30 minutes and I don't use github very often, so sorry if I'm posting this in the wrong place or something. Anyway, I noticed that the document preview doesn't correctly display any tables other than regular pipe tables. Is this going to be fixed? Thanks!

all table styles other than regular pipe tables don't work

mb21 commented 3 years ago

Yes, that's a TODO. Last time I checked, there was no suitable markdown-it plugin though...

jan-zajic commented 3 years ago

https://github.com/basverweij/markdown-it-gridtables

mb21 commented 3 years ago

Nice, I'll try to take a look into integrating that into markdown-it-pandoc soonish.. or feel free to make a pull request there if you can get it working without breaking too much else :)

mb21 commented 3 years ago

I implemented this on master now... guess needs a bit more testing before a release...