docs and readme
This commit is contained in:
18
docs/SYNTAX.md
Normal file
18
docs/SYNTAX.md
Normal file
@@ -0,0 +1,18 @@
|
||||
This syntax is kinda like JSON<br/>
|
||||
But not quite.<br/>
|
||||
Here is an example:<br/>
|
||||
```
|
||||
(index) = {
|
||||
(meta) = {
|
||||
(notation) = "NPON"
|
||||
(version) = '0.1'
|
||||
}
|
||||
(pages) = {
|
||||
:home.npon:
|
||||
}
|
||||
}
|
||||
```
|
||||
as you can see, keys are surrounded by brackets ()<br/>
|
||||
strings are surrounded by quotes "" or ''<br/>
|
||||
and you can import data from another file with colons ::<br/>
|
||||
Additionaly, strings support backslashes if you need quotes within quotes.<br/>
|
||||
Reference in New Issue
Block a user