Examples
Nano Markup by example.
These examples show the everyday shapes Nano Markup is designed for: profiles, catalogs, project metadata, text blocks, empty values, and root strings. Each example also has a paired JSON file in the specification repository.
New to the format? Read the tutorial, see why Nano Markup exists, or review the specification.
Patterns
Common document shapes
Profile data
Mapping · sequence · multiline text
A compact contact-like record with nested values.
Catalog data
Repeated objects
A product-style catalog represented as nested mappings and sequences.
Project metadata
Configuration-like data
A readable project manifest with lists, sections, and scalar text.
Text values
Strings and blocks
Examples of raw, quoted, empty, and multiline strings.
Empty values
Empty string · mapping · sequence
Shows how empty containers and empty strings are represented.
All paired examples
Nano and JSON
Browse every
.nano file with its matching JSON data tree.
Quick read
A readable profile
..
name Ariana
languages:
Slovak
English
address|
20 Forest Street
811 01 Bratislava
{
"name": "Ariana",
"languages": ["Slovak", "English"],
"address": "20 Forest Street\n811 01 Bratislava"
}