Skip to main content

Module marker

Module marker 

Source

Structs§

EmptyMarker
MarkerClose
PairedMarkerOpen

Functions§

all_markers_present
extract_marker_id
has_markers_in_expected_set
is_marker_token
marker_ids_in_text
marker_structure_error
Return a deterministic error when paired inline markers are unbalanced, mis-nested, or closed by the wrong marker tag. ID-presence checks alone cannot detect <m1>text with a missing </m1>, which is valid prose JSON but cannot be reassembled into the original inline structure.
parse_empty_marker
parse_marker_close
parse_paired_marker_open
strip_marker_tokens