Skip to main content

fence

Function fence 

Source
fn fence(line: &str, opening: bool) -> Option<(char, usize)>
Expand description

The character a fence is made of and how many of them, if line is one: three or more backticks or tildes at its start. opening, it may say after them what the code is written in, which a closing one doesn’t.