//! Tests for special markdown rendering. use crate::prelude::*; // Checks custom header id and classes. #[test] fn custom_header_attributes() { BookTest::from_dir("markdown/custom_header_attributes") .check_main_file("book/custom_header_attributes.html", str![[r##"
Footnote example1, or with a word2.
There are multiple references to word2.
Footnote without a paragraph3
Footnote with multiple paragraphs4
Footnote name with wacky characters5
Testing when referring to something earlier.6
A longer footnote. With multiple lines. Link to other. With a reference inside.1 ↩ ↩2
One
Two
Three ↩
Testing footnote id with special characters. ↩
This is defined before it is referred to. ↩
| foo | bar |
|---|---|
| baz | bim |
| Backslash in code | / |
| Double back in code | // |
| Pipe in code | | |
| Pipe in code2 | test | inside |
strikethrough example