motorino/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 28745d452f feat(gemtext): convert the HTML of a page to gemtext
A new package, with no new dependency, that reads the HTML a page renders to (the
lenient mode of encoding/xml with the HTML void elements and entities) and writes
gemtext: three heading levels, one line paragraphs, the links of a paragraph, a list,
a quote or a table on lines of their own after it, bullets (a list of only links is
link lines), quotes (a note is a quote), preformatted blocks, tables as aligned
preformatted blocks, images as link lines, no emphasis, and lines that look like
gemtext are protected. Options.Link maps or drops an address and its error stops
the conversion; Options.Block expands the placeholders of generated blocks.

The language files also keep the order of the menu now (Lang.NavOrder), which the
Gemini output needs.

Refs #10
2026-11-16 12:19:38 +01:00
..
build feat(feed): carry the full text in content:encoded 2026-11-16 12:09:03 +01:00
content feat: motorino new writes a draft, motorino build -drafts previews it 2026-11-16 12:10:30 +01:00
gemtext feat(gemtext): convert the HTML of a page to gemtext 2026-11-16 12:19:38 +01:00
header fix: close the minor findings of the first review 2026-11-15 10:32:19 +01:00
mdx fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
render fix: find code blocks with the Markdown parser and make the escape work everywhere 2026-11-15 10:38:56 +01:00
site feat(gemtext): convert the HTML of a page to gemtext 2026-11-16 12:19:38 +01:00
version chore: scaffold the module, tooling and release config 2026-11-15 09:41:05 +01:00