Skip to content

Markdown to PDF - Table columns overlap #10195

Answered by jgm
marek2356 asked this question in Q&A
Discussion options

You must be logged in to vote

Pandoc parses the table with relative column widths that are based on the relative widths in the source. (These widths are needed for LaTeX output, as LaTeX doesn't compute them automatically as browsers do.)

In your table, the second column is apparently not wide enough for its content. So, you can try making it wider. You would do this by adjusting the line with the ---- so that it is longer in the second column.

For example, setting it to

|-:|:------------|:-------|:-------|:---------------------|:------------------|

will give reasonable results. (Note that unless this line is shorter than the 78 characters, absolute widths of the lines don't matter, only relative ones. pandoc -t native

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marek2356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants