Admonitions render content as code #7893
-
ContextNo response Bug descriptionWhen I use * Admonitions* some time the content render as code block in place of html text. Related linksCheck at the bottom of this pages. Reproduction
Steps to reproduce
BrowserChrome Before submitting
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
From what I can see, you need to ensure all content under the Admonition is indented four spaces. That is the extension's expectation and how it knows what content belongs in it. Deviating from this may cause issues. |
Beta Was this translation helpful? Give feedback.
-
I can agree with @facelessuser. It depends on the indents. In the second example you have 8 indents and in the first, where it worked, only 4. References: |
Beta Was this translation helpful? Give feedback.
-
Thx for your prompt support. I used tab key in VS Code, strange visually look the same. But now I use space key and it fixed my issue ! |
Beta Was this translation helpful? Give feedback.
From what I can see, you need to ensure all content under the Admonition is indented four spaces. That is the extension's expectation and how it knows what content belongs in it. Deviating from this may cause issues.