-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tables do not render correctly #1
Comments
This should not happen. I'll try this myself, but can you give a sample markdown that you know renders improperly? |
I'll try to fix as soon as I can, but I have quite a bit on my plate now so it may be slower than expected. |
Thank you for looking into it. Here's an example .md and the corresponding pdf. |
Have you had a chance to get implement any table support so far? If there is some amount of table support that we can work within the parameters of, that would be good to know. I tried adding fixed width spacing to @tjdavis3's example to see if it would work, but for me, the table was still not formatted the way I would expect in the output PDF...
For some reason it's getting parsed as
Output PDF looks like: |
You need to enable the goldmark extension.GFM or extension.Table. |
@tjdavis3 & @erwin let me know if @ivanjaros's suggestion fixed the issue or not. |
If the cell contents are longer than the heading length of the column then the next column will overwrite the last part of the previous column. Column widths are determined based on the values in the header row. Column contents do not wrap (at least not without changing the row height, which I have not tested).
This makes the table functionality not very useful except for the simplest of tables, which is a shame since otherwise the generated PDF looks very good.
The text was updated successfully, but these errors were encountered: