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

Hide header row when empty (table without header) #109

Open
Spenhouet opened this issue Mar 19, 2025 · 0 comments
Open

Hide header row when empty (table without header) #109

Spenhouet opened this issue Mar 19, 2025 · 0 comments

Comments

@Spenhouet
Copy link

Markdown doesn't officially support tables without header. A common workaround is to simply make a header with empty cells.

|        |        |
| :----- | :----- |
| Cell 1 | Cell 2 |

GitHub also only partially supports this use-case, as GitHub will still show the header but smaller:

Cell 1 Cell 2

Milkdown displays the table header in full height:

Image

Even though GitHub doesn't support it, I wish that Milkdown could just completely hide the header when it is empty i.e. support tables without header. If that's not wanted, than I wish that the header is also displayed with a small height as done by GitHub.

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

1 participant