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

FR: Support width of tables #5

Open
pank opened this issue Nov 26, 2021 · 0 comments
Open

FR: Support width of tables #5

pank opened this issue Nov 26, 2021 · 0 comments

Comments

@pank
Copy link

pank commented Nov 26, 2021

Hi,

It would be nice if Pandoc's table width features could be utilized from Org. (Maybe they are, in which case I appoligize).

From the manual, it sounds like it would involve moving the pipe characters in the table. And it might not even be possible with org tables, perhaps only pipe tables...

From the Markdown manual:

The cells of pipe tables cannot contain block elements like paragraphs and lists, and cannot span multiple lines. If a pipe table contains a row whose Markdown content is wider than the column width (see --columns), then the table will take up the full text width and the cell contents will wrap, with the relative cell widths determined by the number of dashes in the line separating the table header from the table body. (For example ---|- would make the first column 3/4 and the second column 1/4 of the full text width.)

It would be nice if there would be something like #+ATTR_ODT: :rel-width 50 from ox-odt.el (see the Org manual) for pandoc. But I am not sure how easy it would be...

Thanks,
Rasmus

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

No branches or pull requests

1 participant