xtxt

Plain text that machines can read — without guessing.

Markdown makes an agent infer structure from prose. XTXT lets the document carry it: images, tables, charts and typed records, in a file that still opens in any text editor and diffs cleanly in git.

GitHub Read the spec Try it below

One syntax for everything

@name(args) for one thing, @name … @endname for a block. That is the whole format; a new feature is a new name.

Unknown blocks never break

A reader from today stays useful on a document written tomorrow. Unknown directives are a warning, never an error, and always survive a round trip.

Records, not prose to parse

@task, @decision, @knowledge — or a name nobody has invented yet. xtxt extract hands an agent the structure directly.

Three agreeing implementations

Go, Python and JavaScript, each held to the same conformance suite. A fourth joins the standard by passing it.

notes.xtxt

Rendered