Illustrated syntax
One page per construct. Each opens with a decision board — one row per rule: the rule, where it is written, its status — then one plate per case, GEML on the left and the processor's real output on the right, and ends with the evidence. Every output was recorded from a real run of the parser when the page was written.
Block types
| Page | 中文 | What it shows |
|---|---|---|
| The simple four: meta, math, note, text | 中文 | GEML's four smallest block types, meta, math, note and text, and the fence, id and attribute rules every block shares, each shown with real geml check output. |
| code and data | 中文 | GEML's code and data blocks: code holds text the processor never interprets, data a value that must parse, one src= route syntax for both, all measured. |
| table and view | 中文 | GEML's table block, every rule measured: two bodies, one model, a closed arithmetic, a summary row; then the view draft from GEP-0012, spec and draft marked. |
| diagram | 中文 | GEML's diagram block two ways: an external DSL passed through verbatim, and the built-in geml-chart bound to a table, where a wrong column fails the build. |
| embed | 中文 | GEML's embed block: src= brings in a section, a block or a run of prose from another document; part=, scheme and cycle rules and inline ![[#id]], all measured. |
| form (proposal) | 中文 | The GEML form proposal (GEP-0008, draft) and the geml-form/v1 profile: fifteen design decisions, each drawn as GEML beside the control a host would render. |
The CLI
| Page | 中文 | What it shows |
|---|---|---|
| The geml CLI | 中文 | Every geml CLI verb run on one small document: convert between json, html, md and geml, read and write by block, validate; each address form and exit code. |
Profiles
| Page | 中文 | What it shows |
|---|---|---|
| geml-history | 中文 | geml-history/v1: a .gemlhistory sidecar of reverse patches and snapshots beside each .geml rebuilds any old version without git or a network. Four verbs run. |
| geml-codemap | 中文 | geml-codemap/v1: a codebase's call graph as GEML documents, one per container, methods as code blocks, edges as CSV tables, shown on the parser's own code map. |
| geml-style | 中文 | geml-style/v1: a stylesheet is an ordinary .geml that selects into a document without touching it. No scripts, ambiguity fails the build; 13 diagnostics run. |
| geml-translator | 中文 | geml-translator/v1: a translation is an embed-only projection of its source, translate-to= on each block, so it cannot drift from the source it translates. |
Comparisons
| Page | 中文 | What it shows |
|---|---|---|
| geml-style against CSS | 中文 | geml-style against CSS on ten dimensions: on eight a restricted subset of CSS; on two, where content goes and ambiguity as an error, different on purpose. |
| The Markdown Variants Map | 中文 | The projects on the awesome-markdown list that patch or replace Markdown, one by one: what each does, where it meets GEML and where it goes another way. |