Hi all,
What should be the desired behavior for the following code in Pandoc Markdown?
::: Theorem {#id}
This is a theorem.
:::
Knowing both::: Theorem and ::: {.Theorem #id} exists, I would expect it behaves as
::: {.Theorem #id}
This is a theorem.
:::
But that is not true. The HTML output is.
<p>::: Theorem {#id} This is a theorem. :::</p>
Of course, as the current pandoc markdown states:
> As with fenced code blocks, one can use either attributes in curly braces or a single unbraced word, which will be treated as a class name.
But I do believe what I suggest is more reasonable, especially most of the time there are no additional attributes except the class name.
I've raised the issue here.
Best,
Chao Xu