Skip to main content

split_marker

Function split_marker 

Source
fn split_marker(description: Option<&str>) -> (bool, Option<&str>)
Expand description

Split a measure description into (formula disabled, the user's own text).

The marker counts only when the description IS it, or begins with it followed by MARKER_SEP — so a user description that merely starts with the same characters ("[improv:formula-disabled]ish") is left strictly alone.