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.
https://github.com/jgm/pandoc/issues/5611

Best,
Chao Xu

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7ed7a801-1691-4285-9ad5-56945a90558a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.