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

Issue with two successive tables #183

Open
roelvangils opened this issue Mar 8, 2020 · 2 comments
Open

Issue with two successive tables #183

roelvangils opened this issue Mar 8, 2020 · 2 comments

Comments

@roelvangils
Copy link

I noticed that the second table is not rendered to HTML when there's one new line between two successive tables. If I insert two linebreaks, it works. Is this intended?

This doesn't work:

| Name         | Function            |
|--------------|---------------------|
| Joe          | Operations director |
| Tom          | Project manager     |

| Name         | Function            |
|--------------|---------------------|
| Joe          | Operations director |
| Tom          | Project manager     |

This works (two new lines)

| Name         | Function            |
|--------------|---------------------|
| Joe          | Operations director |
| Tom          | Project manager     |


| Name         | Function            |
|--------------|---------------------|
| Joe          | Operations director |
| Tom          | Project manager     |
@fletcher
Copy link
Owner

fletcher commented Mar 8, 2020

Correct. As per documentation, a single empty line delineates separate <tbody> sections within the table. https://fletcher.github.io/MultiMarkdown-6/syntax/tables.html. So if you want two sequential tables, you have to use two blank lines.

@roelvangils
Copy link
Author

Thanks for clarifying!

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