Trait markdown_it::parser::inline::InlineRule
source · pub trait InlineRule: 'static {
const MARKER: char;
// Required method
fn run(state: &mut InlineState<'_, '_>) -> Option<(Node, usize)>;
// Provided method
fn check(state: &mut InlineState<'_, '_>) -> Option<usize> { ... }
}Expand description
Each member of inline rule chain must implement this trait