Admonitions

Using the md viewer to display blocks of Markdown in a different visual style. Useful for info boxes etc.

Table of contents

Usage

```>md !info
ℹ️ Information
```

Examples

mdnotebelow
*Markdown* Viewer **FIXED** 🔥

The question is do [[wiki-links]] work?

Nested *plain* codeblock (didn't work)

Markdown Viewer FIXED 🔥

The question is do wiki-links work?

Nested plain codeblock (didn't work)

mderrorviewer=md

🚨 Error:

Markdown Viewer Outputs are broken

mdwarnviewer=md

⚠️ Warning:

Markdown Viewer Still has bugs

mdinfoviewer=md

ℹ️ For Your Information:

Markdown Viewer is not just for admonitions

mdsuccessviewer=md

✅ Great:

Markdown Viewer is useful

Updates

Github0§ recently released a new feature https://github.com/github-community/community/discussions/16925 in the form of notes and warnings within a blockquote with the following syntax:

> **Note**
> This is a note

> **Warning**
> This is a warning

the following is how it renders in .lit (and in renderers that don't directly support this syntax... yet?)

md

Note This is a note

Warning This is a warning


  1. Relevant due to the ubiquity of Github flavoured markdown§