What a marker records about the call that produced its text (spec-0017 §1.1), so the overlay can preview an edit exactly as gettext would render it:
- every binding gettext could interpolate, as it would render — strings,
integers and booleans as they are, everything else as its
to_string/1(a float renders2.0in gettext but2in JavaScript, so it travels as text); a binding that is itself a marked message is{"$marked": clean text}(spec-0016 §3). A value gettext can't interpolate (noString.Chars) is left out; - for a plural lookup,
count(gettext binds it too),__nand__form; __missing: truewhen gettext fell back to the msgid.
Summary
Functions
The JSON recorded in a marker's header.