Closed ParaDiceSolutions closed 5 years ago
Admonition titles should be quoted.
however, the result is the same with te parent body text not being displayed (see attachment).
Do you mind displaying your syntax in a code block? The way you are posting it here in plain text, I can't see formatting properly.
Sorry I'm new to a lot of this (as you might be suspecting) ;-)
!!! note This is the **note** admonition body !!! danger "Danger Title" This is the **danger** admonition body
Hopefully that is better?
Cheers.
actually that didn't help! Give me a second and I shall find out how to send that to you without it being formatted...
!!! note
This is the **note** admonition body
!!! danger "Danger Title"
This is the **danger** admonition body
Try ensuring there is a blank line before the second admonition:
!!! note
This is the **note** admonition body
!!! danger "Danger Title"
This is the **danger** admonition body
That worked! Thank you so much!!! I thought I tried that (amongst loads of other failed attempts)! Cheers!
Np. Generally block level markdown should have a blank line before them. Some parsers may not require this, but I believe the original Markdown spec requires it. The Python Markdown library is particularly sensitive to this requirement.
Thanks again. Much appreciated.
Description
I would like to use nested admonitions elements, but I can't get the admonition body to display when it contains a nested admonition element. I have used the example given (see below) on this webpage : https://marketplace.visualstudio.com/items?itemName=jebbs.markdown-extended#overview ------- Example ------ !!! note This is the note admonition body !!! danger Danger Title This is the danger admonition body
Expected behavior
I expect to see the "This is the note admonition body" displayed, as per the webpage example.
Actual behavior
See
Steps to reproduce the bug
Package versions
Project configuration
System information