Closed paravoid closed 2 weeks ago
Haha! That was a head-scratcher. Taking these one at a time...
The initial fence (```), right after a line of text, is interpreted as a regular code span within the paragraph. Code spans can have any number of backticks surrounding them.
The blank line before the fence makes the fence be in its own block, so it's interpreted properly as block-level code.
The "This is a table:" mystery! This is because it's being treated as document-level metadata. That's why it's not appearing in the document any more: it's now a metadata key with a zero-length value.
By adding an initial newline, the "This is a table:" is no longer in the metadata block.
This has also prompted me to document code fences in the manpages. If there's anything else you can find, or any language you think might have helped (I used -Ttree), then please let me know. Thanks again!
This:
Renders as:
...all in one line.
Adding a whitespace after the first line like so:
...renders the code block correctly, but omits the "This is a table:" line altogether!:
Adding another whitespace at the top like so:
...generates the expected (I think) output: