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

RST: Simple Tables: multiple header rows not supported #10338

Open
ZoomRmc opened this issue Oct 28, 2024 · 0 comments
Open

RST: Simple Tables: multiple header rows not supported #10338

ZoomRmc opened this issue Oct 28, 2024 · 0 comments

Comments

@ZoomRmc
Copy link

ZoomRmc commented Oct 28, 2024

========== =========
Header A1  Header A2
Header B1  Header B2
========== =========
body a1    body a1
body b1    body b2
========== =========

The header rows are parsed as body and the header separator becomes a row with HorizontalRules.

Relevant part of the spec:

A simple table begins with a top border of equals signs with one or more spaces at each column boundary (two or more spaces recommended). Regardless of spans, the top border must fully describe all table columns. There must be at least two columns in the table (to differentiate it from section headers). The top border may be followed by header rows, and the last of the optional header rows is underlined with '=', again with spaces at column boundaries. There may not be a blank line below the header row separator; it would be interpreted as the bottom border of the table.

Perhaps would be reasonable to implement jointly with #10127
Related: #6701

Pandoc 3.5

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