mdbook/tests/testsuite/markdown/admonitions/expected_disabled/admonitions.html
Eric Huss 873e4fe40f Add support for admonitions
This enables the admonitions support from pulldown-cmark. This includes
a config option in case it causes problems with existing books.

I would like to make this extensible in the future, though I'm not sure
what that would look like. There's also some concerns with how this will
affect translations like mdbook-i18n-helpers, which we may need to work
out in a different way.

Closes https://github.com/rust-lang/mdBook/issues/2771
2025-09-18 19:54:20 -07:00

26 lines
No EOL
494 B
HTML

<h1 id="admonitions"><a class="header" href="#admonitions">Admonitions</a></h1>
<blockquote>
<p>[!NOTE]
This is a note.</p>
<p>There are multiple paragraphs.</p>
</blockquote>
<blockquote>
<p>[!TIP]
This is a tip.</p>
</blockquote>
<blockquote>
<p>[!IMPORTANT]
This is important.</p>
</blockquote>
<blockquote>
<p>[!WARNING]
This is a warning.</p>
</blockquote>
<blockquote>
<p>[!CAUTION]
This is a caution.</p>
</blockquote>
<blockquote>
<p>[!UNKNOWN]
This is an unknown tag.</p>
</blockquote>