Horizontal rule vs. simple table: Is this expected behavior? #9685
-
I was working on a document that used horizontal rules; i.e. If I put a newline after the first horizontal rule, everything rendered correctly:
... but I accidentally left this off:
... and it suddenly rendered as a very weirdly formatted table. The thing that made it extra confusing was that I had an unordered list with GFM checkboxes. If there was more than one level in the checklist, it rendered as an unordered list
But when I removed the second level of list items, it turned into a table
This made it feel like a problem with the ordered list rather than a horizontal rule not followed by an empty line. I'm trying to decide whether to open a bug report on this. It may conform to a design spec, but it certainly didn't feel like a common sense rendering when it happened (especially because I usually use pipe tables) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's technically a (malformed) simple table (see the docs). |
Beta Was this translation helpful? Give feedback.
It's technically a (malformed) simple table (see the docs).
(Of course you can turn these off if you don't use them; indeed, with
-f gfm
they will be turned off.)