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

HTML table with rowspan to grid table #9289

Closed
aborruso opened this issue Dec 27, 2023 · 3 comments
Closed

HTML table with rowspan to grid table #9289

aborruso opened this issue Dec 27, 2023 · 3 comments

Comments

@aborruso
Copy link

Hi,
I have this HTML table, and I want to convert it to grid table, maintaining its rowspan cells, to get something similar to

+---------------------+----------+
| Property            | Earth    |
+=============+=======+==========+
|             | min   | -89.2 °C |
| Temperature +-------+----------+
| 1961-1990   | mean  | 14 °C    |
|             +-------+----------+
|             | max   | 56.7 °C  |
+-------------+-------+----------+

But if I run pandoc -s input.html -t markdown+grid_tables -o output.md I do not have the rowspan in the output.
Is there a way to force to create it?

Thank you

@aborruso aborruso added the bug label Dec 27, 2023
@jgm
Copy link
Owner

jgm commented Dec 27, 2023

The markdown writer doesn't yet support row or colspans.

@jgm
Copy link
Owner

jgm commented Dec 27, 2023

This would be a great project for someone who wants to work on the pandoc code base!

@jgm
Copy link
Owner

jgm commented Dec 27, 2023

Actually this is a dup of #6344 - closing in favor of that.

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

No branches or pull requests

2 participants