pub trait CoreRule: 'static {
    // Required method
    fn run(root: &mut Node, md: &MarkdownIt);
}
Expand description

Each member of core rule chain must implement this trait

Required Methods§

source

fn run(root: &mut Node, md: &MarkdownIt)

Implementors§

source§

impl CoreRule for AddHeadingAnchors

source§

impl CoreRule for SyntectRule

source§

impl CoreRule for TypographerRule

source§

impl<const OPEN_SINGLE_QUOTE: char, const CLOSE_SINGLE_QUOTE: char, const OPEN_DOUBLE_QUOTE: char, const CLOSE_DOUBLE_QUOTE: char> CoreRule for SmartQuotesRule<OPEN_SINGLE_QUOTE, CLOSE_SINGLE_QUOTE, OPEN_DOUBLE_QUOTE, CLOSE_DOUBLE_QUOTE>