1This is an example of how you can make your own plugins in markdown-it.
2
3### What is it
4
5There are 3 different plugins here:
6
7- inline rule - turns `(\/)` into `🦀` in *inline context* (i.e. inside other text)
8
9- block rule - turns `(\/)-------(\/)` into
10 [ferris.svg](https://upload.wikimedia.org/wikipedia/commons/0/0f/Original_Ferris.svg)
11 in *block context* (i.e. it has to occupy the entire line)
12
13 - core rule - counts the number of nodes created by the above two plugins and writes
14 that number at the end of the document
15
16It represents three stages of markdown processing (block elements, inline elements
17and AST post-processing).
18
19### How to use
20
21`cargo run --example ferris`