Prose blocks

Every element Prelum's renderer writes into a post, styled for reading.

Text, lists, quotes and footnotes

Headings carry a link to themselves, shown on hover and focus. Inline marks are the elements raw HTML would need.

Writing for every site#

A paragraph with strong, emphasis, inline code, a link to the network and a footnote.1 Press Ctrl and K to search, read MCP as a protocol, mark a phrase, and write H2O or x2.

  • Drafts live in Carrel.
  • Each site renders with Prelum.
    • Nested items keep their rhythm.
  1. Write the post.
  2. Check it.

A quotation set off from the text, in the muted color, with a rule at its start.

A smaller heading#

A third level is set in the interface face, as are the levels below it.


Footnotes#

  1. A footnote, with a link back to where it was cited. ↩

Table

A table scrolls inside its own box, which takes keyboard focus; numbers align right in tabular figures.

Site Posts Words Last published
dustinedwards.info 42 61,200 2026-10-30
germomics.com 18 24,350 2026-10-28
julieedwards.info 7 9,810 2026-10-12

Callouts

GitHub's five alerts. The title word carries the kind; the color only repeats it.

Note

A note with strong text and a link.

Tip

Write the alt text while the picture is in front of you.

Important

Every episode has a transcript.

Read this first

A warning with its own title.

Caution

Deleting a draft cannot be undone.

Images, figures and a gallery

An image links to its original. A figure has a caption and a credit; width=wide leaves the measure. A gallery crops two to nine images to one frame.

A teal tile from the network's supergraphics

A wide band of the network's colors

A wide figure with a caption and its credit.

Photo: Sample Archive

Video, audio and embeds

The native players at the column's width. An embed makes no request to the service until the reader clicks; until then it is a card the size of the player it becomes, naming the service and the title. The last is an embed stored before Prelum 0.28.

What the demo shows.

Transcript: A talk on shared site code

Watch on YouTube: A keynote on publishing with Prelum
A video: 16:9, the site's own poster.
Listen on Spotify: An episode on shared site code
A song or an episode: a strip as tall as the service's player.
View on Google Maps: Where the meeting is
A map: 4:3.
View on Bluesky: A post about the release
A post (X, Bluesky, Instagram): 4:5, as wide as the service draws one.
Watch on TikTok: A minute on the new release
An upright video: 9:16.
Watch on YouTube: A talk stored before Prelum 0.28

A button link is the primary button at a full control's height. A bookmark is a link card. Details and the FAQ work with scripts off.

Details: the plus marker, and ruled

The marker is drawn: a chevron by default (above), a mono plus and minus with data-details="plus" on the article. data-details="ruled plus" draws them with no box, a rule above and below, neighbors sharing one. On paper every one is open.

What a field note holds

One observation, its date and where it was made.

Getting started

Install the package and import its stylesheet.

Release notes

Every change is in the changelog, newest first.

The manual's parts and tables

data-headings="parts" numbers each h2 as a part of the page over a rule in the ink; data-tables="manual" gives a table a heavy rule over its head and mono labels. A link in a header cell is italic, since the cell is bold already.

Before you start#

Read the field notes from the last run first.

Steps#

StepTakes
Prepare10 min
Run45 min

A diagram drawn in the page

One inline SVG whose parts read the page's colors, so one drawing serves both themes: nodes in their tones, a glyph in its node's color, connectors and arrow heads, labels, a dashed baseline, and the credit under it.

Drawing: Sam Lee, for example.com.

A site's own reading look, by tokens

The same blocks with a site's tokens set where it puts data-context="prose": a muted body with bold and headings in the ink, the interface face for headings, roomier blocks, colored list markers, an italic quote with an accent rule, inline code in the accent, rounder blocks and images, more room under a heading and between items, headings to the column's width, and a link underlined under the pointer.

Field notes#

A paragraph in the muted body, with a bold phrase in the ink, inline code and a link underlined under the pointer.

  • A marker in the site's accent.
  • Jordan Park wrote the second item.

A quotation in italics, its rule in the accent.

Code

A titled block, and a plain one. Sites that highlight get shiki's two themes, picked by the page's theme, and a marked line has a rule at its start as well as a band. The space at the top of a highlighted block (Prelum's pre[data-lang]) is kept for the language name and the Copy button that render/enhance adds, so the page does not shift when they arrive; a plain block keeps no room. The last block is one render/enhance has decorated.

render.ts
import { render } from "@drdustinedwards/site-helpers/render";
const { html } = await render({ file, body, resolveImage });
export default html;
plain code, no language
npm run check

The editorial pack

A side note and a pull quote. A color swatch is in Prelum's own specimen: its chip color is a style attribute, which this site's policy refuses.

Prelum’s editorial pack adds a few blocks for long essays.

A pull quote repeats one line from the text, larger.