Preview of Longform Markup LanguageOpen longform.occultist.dev

longform.occultist.dev

Longform Markup Language

An extendable markup language that outputs HTML/XML fragments, supporting directives for sanitization and templating. Parser is 4.1kB min+gzip.

Visit project

Show me a random project

First shared
Jun 19, 2026
HN activity
30

Show HN@angrybardsJun 19, 2026

Show HN: I built an extendable full document markup language

Hi HN, I've been working on an easy to read and write extendable markup language that can express any HTML element and structure. Longform can be used in most situations Markdown might be used, but is better suited for situations where structure and semantics are a requirement of the output and are understood by a document's authors. Longform exports full documents or HTML fragments, allowing a parent program to piece together the fragments into its own markup. And directives can be used to extend the language. Take a look at https://longform.occultist.dev for the working spec. If you want to test it out, I've built a really basic static site generator at https://stat.occultist.dev.

Community

Hacker News discussion

Loading the thread…