json-to-pdf
json-to-pdf copied to clipboard
how to make multiple lines in a table cell
Hi:
I'm using your library to create a letter head. Playing around with table for layout, how do you make multiple lines in a cell (for example name + line break + address + line break + phone number)? I tried multiple paragraphs in the cell to make multiples with no success.
Alternatively, if I used the cells for a new lines, how do I shrink the cell spacing/padding?
Thanks Juan.
A list would probably be the simplest solution:
[{"title":"My document"},
["table",
[["cell", ["list", {"symbol": ""}, "item", "another item", "yet another item"]]
, "bar", "baz"]]]