home · story · engine · guide · about


ABOUT MTX

monad txt xpansion — plain text expansion syntax.


the problem

markdown traps

markdown looks safe until you write real text. then everything triggers.

html soup

open tags. close tags. matching names. entity escaping. unreadable in plain text.

html is powerful but you cannot read the source without rendering it.


the solution

mtx uses ; as the only trigger character. plain text stays plain.


three levels

lvl1 — minimal

headings only. everything else is plain text. for notes, plans, config docs.
file extension: .tx.txt or plain .txt with ;#mtx;.;#mn;. header.

lvl2 — md-ish

full doc markup. headings, lists, code, bold, italic, links, tables, images.
everything .md can do, but without the traps.
file extension: .mt.txt

paragraphs and line breaks are auto-detected:
single enter = line break. double enter = new paragraph.
no explicit markup needed.

lvl3 — html-ish

full html replacement. every html element mapped to a 2-character code.
elements, attributes, containers, void elements, datapod data structures.
file extension: .ht.txt

readable in source. no tag soup. same ; trigger as everything else.


the semcon rule

semcon = semicolon character.

one rule. learn it once. write with confidence forever.

10 closers

every closer is ; + 1 character. one job each.

closerjob
;.inline content (headings, bold, links, items)
;|block container (div, nav, form)
;"attribute value
;zraw zone (svg, mathml)
;xtable cell
;ccontained inline (nested formatting)
;vvoid element (no content)
;bbranch list (parent with children)
;,sequence separator (datapod items)
;>key-value separator (datapod keys)

design principles


home · story · engine · guide · about

github · ©2026 digiopsys. powered by mtxweb.