Chapter 1

What is this?

This book acts as an integration test for mdbook-admonish.

It verifies that mdbook post-processes our generated HTML in the way we expect.

Note

Simples

Frog

Custom frog directive

No title, only body

Error rendering admonishment

Failed with:

'title="' is not a valid directive or TOML key-value pair.

TOML parsing error: TOML parse error at line 1, column 21
  |
1 | config = { title=" }
  |                     ^
invalid basic string

Original markdown input:

```admonish title="
No title, only body
```

Note

Hidden on load

Warning

This is a commonly shared warning!

Note

Nested code block

Note

#![allow(unused)]
fn main() {
let x = 10;
x = 20;
}
#![allow(unused)]
fn main() {
let x = 10;
let x = 20;
}

In a list:

  1. Thing one

    Thing one
    
  2. Thing two

    Note

    Thing two

  3. Thing three

    Thing three