You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes a panic. As far as I know, it's legal markdown to have an empty heading cell, but not sure. I've never had a problem rendering it in any other way or converting it to PDF with pandoc, vscode extensions, etc.
The text was updated successfully, but these errors were encountered:
But the problem runs deeper since, with the current code, the width of a column is determined by the length of the string used as the header. This is a problem regardless of the empty header, for example, consider:
222222277777772 will be cut off; but it's an even bigger problem when the header is an empty string.
I didn't write the original implementation but I'll take a look into changing it so that the width of the column is determined based on the longest string value in any of the respective cells (rather than that of the header).
Thanks for the workaround. I think I was most concerned that it results in a panic with no real info about the cause. I kind of guessed my way into finding that this was the cause. 😬
A table like this:
causes a panic. As far as I know, it's legal markdown to have an empty heading cell, but not sure. I've never had a problem rendering it in any other way or converting it to PDF with pandoc, vscode extensions, etc.
The text was updated successfully, but these errors were encountered: