The format is made up with sections that start with either the beginning of the file or an empty line followed by two dashes and a section name. Attributes are zero or more lines under the initial starting header with key/value pairs. Most sections have content, but some don't (e.g. metadata) which goes below and continues until you hit another section header or the end of the file . A page might look like:
-- title
This Is A Page
-- blockquote
-- by: Some Person
This is what they said
With some more lines
-- metadata
-- date: 2023-12-31T18:02:07
1
I'm working on my own file format, this is what blockquotes look like | Spyke
So uh. How do you end the quote?
huh, yeah, that's not at all obvious is it 😜
The format is made up with sections that start with either the beginning of the file or an empty line followed by two dashes and a section name. Attributes are zero or more lines under the initial starting header with key/value pairs. Most sections have content, but some don't (e.g. metadata) which goes below and continues until you hit another section header or the end of the file . A page might look like: