Tables not being rendered properly when not preceded by a newline
Tables are not rendered when they directly follow a block of text without a blank line in between. While this behavior is technically aligned with the CommonMark spec, it causes compatibility issues, as many other Markdown renderers (e.g., GitHub, Markdown-it, or iOS renderers) render these cases as valid tables.
Steps to Reproduce:
Some intro text.
| Header 1 | Header 2 |
|----------|----------|
| Value 1 | Value 2 |
Expected result (as seen on web and iOS): A table is rendered below the paragraph.
Actual result: The table is not rendered; instead, the content is treated as plain text with pipe characters.
If it's an issue with the commonmark parser, I don't think there is much we can do here.
I have in my plans to create a separate artifact that uses Jetbrains' markdown parser but haven't got a chance to start working on it.