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