pub fn extract_inline_computation(body: &str) -> Option<InlineComputation>Expand description
Extracts the code block under a # Computation heading.
The section runs from the heading to the next heading of the same or a
higher level. Within it, the first fenced block wins; failing that, the
first indented block does, because the spec’s own examples are written that
way. Returns None when there is no # Computation section or it holds no
code.