Skip to content
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

how to make multiple lines in a table cell #10

Open
juanbill opened this issue Jun 18, 2015 · 1 comment
Open

how to make multiple lines in a table cell #10

juanbill opened this issue Jun 18, 2015 · 1 comment

Comments

@juanbill
Copy link

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.

@juanbill juanbill changed the title how to make line in table cell how to make multiple lines in a table cell Jun 18, 2015
@yogthos
Copy link
Owner

yogthos commented Jun 18, 2015

A list would probably be the simplest solution:

[{"title":"My document"}, 
["table",
 [["cell", ["list", {"symbol": ""}, "item", "another item", "yet another item"]]
, "bar", "baz"]]] 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants