Issue
I was looking for documentation on admonitions, to find out which ones are supported and how to nest them.
The former is documented in ndg-commonmark/docs/SYNTAX.md but I couldn't find it on the site.
More of a question I didn't want to open a separate issue for
The latter seems to be only supported by accident? I've achieved nested admonitions by mixing admonition syntax from ndg-commonmark and GFM Alerts:
:::{.example}
This is an example.
> [!NOTE]
> With a nested note!
:::
With a little additional CSS to give nested admonitions and code blocks a small left and right margin, it looks pretty nice.
GFM treats the admonition type case-insensitively, NDG (2.10.1) currently requires all caps.
GFM doesn't allow for nested admonitions even though the syntax would allow for it elegantly : (
Will this nesting always be supported or should I rather fall back to plain HTML, manually specifying a div with the appropriate classes (including the title paragraph)?
Issue
I was looking for documentation on admonitions, to find out which ones are supported and how to nest them.
The former is documented in
ndg-commonmark/docs/SYNTAX.mdbut I couldn't find it on the site.More of a question I didn't want to open a separate issue for
The latter seems to be only supported by accident? I've achieved nested admonitions by mixing admonition syntax from ndg-commonmark and GFM Alerts:
:::{.example} This is an example. > [!NOTE] > With a nested note! :::With a little additional CSS to give nested admonitions and code blocks a small left and right margin, it looks pretty nice.
GFM treats the admonition type case-insensitively, NDG (2.10.1) currently requires all caps.
GFM doesn't allow for nested admonitions even though the syntax would allow for it elegantly : (
Will this nesting always be supported or should I rather fall back to plain HTML, manually specifying a div with the appropriate classes (including the title paragraph)?