def text.plain
import ezsys@0.1.0.0/src/text.bend as Textimport Base
88# a character in plain text: the start of a marker, or itself
89def text.plain(at: Bool, hd: Char, +open: String) -> String & Mode:
90 match at:
91 case False{}:
92 (SCon{hd, SNil{}}, Plain{})
93 case True{}:
94 ("", text.enter(text.tail(open)))