Skip to main content

judgment_heading

Function judgment_heading 

Source
fn judgment_heading(line: &str) -> Option<(String, String)>
Expand description

The heading a line opens, and its body when the line carries one.

A model writes a heading as Where things stand: ..., ## Next, **Next:** ..., **Next** run the gate., ## Next. or 1. **Next**. The label still has to open the line: a marked line, or a short title-shaped label before a colon, is a heading. A sentence that carries a colon in the middle stays body text, and a marked label still has to read as one - **I fixed it. The gate:** is green stays body.