home ~ projects ~ socials

Neopolitan

An alternative plain-text format

Why a new format?

In a word: Friction

I've been running my site for 20 years. When I realized that, I started thinking about what tools I want to use for the next twenty. Specificaly, how do I manage content? How do I do it in a way that provides the full power of HTML without being overly complicated? Without being so locked into another technology that changing the backend becomes a herculean task?

How do I reduce all those frictions that get in the way of putting things out into the world?

Those questions lead me to create Neopolitan. It's designed to make it easier to make things for the web.

Quickstart

Neopolitan is made of sections, attributes, and tags.

Sections

Documents are made of sections. They start with two -- characters followed by the section name. Here's an h1 header:

-- h1 

The Quick Fox

Section Attributes

Sections can have attributes. They're added under the start of the section

-- h1 
-- id: sierra

The Quick Fox

Inline Tags

Basic inline tags are similar to markdown but have an extra character at the end

-- h1 
-- id: sierra

The *Quick** Fox

Inline Attributes

That extra * is for attributes

-- h1 
-- id: sierra

The *Quick*class: tango* Fox

HTML

That example render HTML that looks like this:

<h1 id="sierra">
  The <strong class="tango">Quick</strong> Fox
</h1>
-- end of line --