Comparison
Nano Markup vs TOML.
TOML is a popular configuration format with typed scalar values and table syntax. Nano Markup is smaller: a tree of strings, mappings, and sequences written with indentation.
At a glance
Tables and types, or a small tree
|. TOML uses multiline string delimiters.Same data
A profile in both formats
..
name Ariana
active true
address..
city Bratislava
country Slovakia
name = "Ariana"
active = true
[address]
city = "Bratislava"
country = "Slovakia"
Nano Markup keeps every scalar as text, while TOML interprets true as a boolean and uses a table header for nested data. The right choice depends on whether a small string-based tree or typed configuration is more useful to your application.
Choosing
Use the format that matches the job
Choose Nano Markup if a strict, readable tree is the main goal and your application already knows how to interpret strings. Choose TOML if native typed values and mature configuration tooling are more important.
Both formats are useful. Nano Markup is intentionally narrower, which can be an advantage when implementations must stay small and interoperable.
See the comparisons with YAML and JSON, then browse the examples.