Pandoc's Markdown parser sets relative widths for each column in a pipe table when the table contains long rows, which allows LaTeX to wrap cells to avoid overflowing the page (implemented in jgm/pandoc@eb8aee4).
commonmark-pandoc doesn't implement this functionality and always sets the column width to default, resulting in poor PDF rendering:
|
colspecs = map (\al -> (toPandocAlignment al, ColWidthDefault)) |
|
aligns |
It'd be great if this feature could be implemented in commonmark-pandoc, but I don't have the familiarity with Haskell or the codebase to do it myself.
Pandoc's Markdown parser sets relative widths for each column in a pipe table when the table contains long rows, which allows LaTeX to wrap cells to avoid overflowing the page (implemented in jgm/pandoc@eb8aee4).
commonmark-pandocdoesn't implement this functionality and always sets the column width to default, resulting in poor PDF rendering:commonmark-hs/commonmark-pandoc/src/Commonmark/Pandoc.hs
Lines 139 to 140 in 6ec393d
It'd be great if this feature could be implemented in
commonmark-pandoc, but I don't have the familiarity with Haskell or the codebase to do it myself.