mandolyte / mdtopdf

Markdown to PDF
MIT License
135 stars 33 forks source link

Table rendering issues #20

Open SharkFourSix opened 1 year ago

SharkFourSix commented 1 year ago

Hi. First off great project.

I seem to be having problems rendering tables. Columns with very long lines overlap the table's boundary.

### Some Title Goes Here

| Horizonal Header | Horizonal Value                                                      |
|-------------------------|----------------------------------------------------------------------|
| Period                  | 2023/1                                                                                                  |
| Project          | Project #1                                                                                             |
| Manager       | Very long name goes here without wrapping with ellipses if possible. |
| Access ID     | 1234567890                                                           |

This is what I get, which is not what I need

image

Also is it possible to have horizontal header/value layout?

rahji commented 4 months ago

Related, I think: tables render incorrectly when a cell is empty...

# Test

| head1 | head2 | head3 |
| ----- | ----- | ----- |
| 1     |       | 3     |

creates a table that looks like this:

image