How to write table in pdf file instead of rendering


(Ashtabhuja) #1

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 |
| | | | | | | | | |
±---------------±-----------±----------------±-----------±-----------±-------------±-----------±---------------±-------------+


(Johan Dahl) #2

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


(Cecil New) #3

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


(system) closed #4

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