Files
npon-server/docs/SYNTAX.md
2025-11-16 11:42:47 +00:00

465 B

This syntax is kinda like JSON
But not quite.
Here is an example:

(index) = {
    (meta) = {
        (notation) = "NPON"
        (version) = '0.1'
    }
    (pages) = {
        :home.npon:
    }
}

as you can see, keys are surrounded by brackets ()
strings are surrounded by quotes "" or ''
and you can import data from another file with colons ::
Additionaly, strings support backslashes if you need quotes within quotes.