How to write table in pdf file instead of rendering

Example

±---------------±-----------±----------------±-----------±-----------±-------------±-----------±---------------±-------------+
| CLUSTER NAME | CLUSTER ID | DATACENTER NAME | RPOOL NAME | RPOOL ID | NETWORK NAME | NETWORK ID | DATASTORE NAME | DATASTORE ID |
±---------------±-----------±----------------±-----------±-----------±-------------±-----------±---------------±-------------+
| ONPREM_CLUSTER | domain-c7 | ONPREM_DC | Resources | resgroup-8 | VM Network | network-12 | datastore1 | datastore-11 |
| | | | | | | | ONPREM_DS | datastore-14 |
| | | | | | | | | |
±---------------±-----------±----------------±-----------±-----------±-------------±-----------±---------------±-------------+

Hi

https://stackoverflow.com/a/48568415/7728251 could be used for example if you want to render html to pdf. Some other examples on the same page https://stackoverflow.com/questions/14923570/create-pdf-from-html-in-golang

Tables in markdown format are supported by my md-to-pdf utility:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.