Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Neopolitan - Section And Attribute Tokens

One of the goals with the format is to make it extensible. The way I'm handling that is by making the section types arbitrary and putting the responsibility on the rendering engine to apply the proper template based off the names and attributes.

Section Name Rules - -

The rules for defining a section type are :

-- alfa

---- bravo

-- c.h.a.r.l.i.e

-- ๐’นโ‚‘โ‚—โ‚œโ‚

-- /echo

Section Attribute Types

Section attributes come in two types :

Boolean Section Attributes

The rules for boolean attributes are the same as the section rules with the exception that instead of starting after the start of the file or an empty line, each one must start on a line immediatly following a line that starts a section or a line with another attribute.

Key/Value Section Attributes

Key value attributes work like boolean with the additional properties :

An example of a [TODO: Code shorthand span ] section with a [TODO: Code shorthand span ] boolean attribute and [TODO: Code shorthand span ] key/value pair.

-- code
-- rust
-- id: sample_code