pub fn shortcut(text: &str) -> Option<(Shortcut, usize)>Expand description
Match a markdown prefix at the start of a block, returning it and how many bytes it occupied.
This is the input side of the same vocabulary [crate::parse] reads: typing
## makes a heading because pasting ## would have. Order matters — a
task marker is a bullet with more on the end.