-
When using the This doesn't work normally: All tables are generated as grid tables. However by accident I found out id does work when I set
Some questions about this:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Note: The command line I use is
|
Beta Was this translation helpful? Give feedback.
-
It's happening on the pandoc side. pantable parses the CSV into pandoc's native AST, and pandoc decided what to do about it for different outout, including markdown. In pandoc. there's 4 table syntaxes, where only the grid table supports everything the internal AST support. So if it figures out a certain feature cannot be represented as pipe table, then it will uses grid table for example. And one such feature is the column width, I think. Another way to force pandoc to output pipe table is to turn off the other three table extensions, such as |
Beta Was this translation helpful? Give feedback.
It's happening on the pandoc side.
pantable parses the CSV into pandoc's native AST, and pandoc decided what to do about it for different outout, including markdown.
In pandoc. there's 4 table syntaxes, where only the grid table supports everything the internal AST support. So if it figures out a certain feature cannot be represented as pipe table, then it will uses grid table for example. And one such feature is the column width, I think.
Another way to force pandoc to output pipe table is to turn off the other three table extensions, such as
pandoc -t markdown-grid_table-...
. But this has a side effect: if pandoc decide a table cannot be rendered as pipe table, it will choose the next a…