Documentation
¶
Overview ¶
Package mdline reads the `key: value` lines f10 takes out of markdown that people and agents edit. The model reads `**local**: ...` and `local: ...` alike, so every Go reader goes through here to read them alike too.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cut ¶
Cut splits a line at the earliest of seps into key, value and whether a non-empty key was found. The key loses its marks; the value keeps its code spans (some carry an identity in one), losing only a marked key's leftover emphasis; a bold label cuts after its closing `**` even with no separator.
func Item ¶
Item strips a list bullet ("- ", "* ", "+ ") and the space around the line; ok is false when the line is not a list item.
Types ¶
This section is empty.