pub fn nesting_depth(text: &str) -> usizeExpand description
A conservative upper bound on the block nesting text can produce.
Counts, per line: the run of blockquote markers opening it, the number of
::: div fences currently open, and one level per two columns of leading
indentation (the coarsest list-nesting unit Djot admits).