Aleph symbol

THE INFINITE ARCHIVE

formless and empty

I saw all the mirrors on the Earth, and none of them reflected me.

Fingerprint: 268d68b — Drift: 1d · 1.60h · +0.1h · 320 wc

Ordinal's Markdown Pipeline

How Ordinal turns markdown into html from a template

Created: 2025-01-02
Domain: Development
Division: Code
Modified: 2026-01-28
RSS: RSS

This page describes, at a high level, how Ordinal turns a single Markdown file into a finished page on the site. It is meant as a quick reference and conceptual overview.

A more detailed breakdown lives in the Ordinal article itself.

If revision tracking is enabled, the same process also records things like word counts, worked hours, and content drift.

Frontmatter

Frontmatter is the metadata at the top of a Markdown file. It controls how an entry is presented, categorized, and indexed.

Common fields include:

title, description

Used for page titles, summaries, and meta tags.

domain, division

Used to group related entries and build indexes.

created, last_modified

Shown in the page metadata. last_modified is updated automatically when the page is regenerated.

worked

Hours logged for the entry. Used for tracking effort over time.

template

Which HTML template the page is rendered through. Defaults to wiki.html.

Optional fields such as tags, series, location, or media references may be present. Fields that are not used by the system are simply ignored.

Body Transformations

The Markdown body is cleaned up and reshaped before it is rendered.

Footnotes are pulled out and turned into anchored references.

Basic Markdown elements like quotes, lists, tables, and emphasis are converted into HTML.

Images and videos are detected from standard Markdown syntax. If no header image is specified, the first media item may be used as a fallback.

Internal links written as [[slug]] are resolved and recorded for backlink generation.

The author writes plain Markdown, and Ordinal handles the rest.

Layout

Headings are collected to build a table of contents based on their level.

The body is also split into logical article blocks that the template uses to control layout and spacing. This allows presentation to be adjusted without changing the original writing.

Media Rail

Media is discovered automatically from the site's image and video directories.

Entries are associated with media by matching filenames referenced in frontmatter or body content. The media rail surfaces recent or relevant assets without requiring manual effort.

71f6623e22374cc0be1cceea8811f227

Connections

Outbound 1
Inbound 1

Outbound

Referenced by

Revisions

MODIFIED 268d68b 2026-01-26 03:56:47
Spell check
MODIFIED 73d86c6 2026-01-25 20:55:12
Added wikilink to related
MODIFIED d8eb4de 2026-01-11 11:42:59
consolidated known issues, updated list, added possible refactor path
MODIFIED 62b8e44 2026-01-10 06:01:13
switched hashes to SHA256
MODIFIED 71c9e8f 2025-01-02 00:00:00
initial seed