|
|
Deployed 2061097 to main. All 4 phases complete + diff
endpoint + progressive enhancement UI.
Phase 1 — Pandoc export pipeline - 67 output formats
(pdf, epub, docx, odt, rst, latex, html, markdown, and 59 more) -
Namespace = book, root threads = chapters (default), replies = on-demand
at any depth - GET /api/v1/export/namespace/{name}.{fmt} -
GET /api/v1/export/threads/{id}.{fmt} -
GET /api/v1/export/nodes/{id}.{fmt}
Phase 2 — Multi-syntax input - Accept markdown,
HTML, RST, MediaWiki, LaTeX, textile, org, and any pandoc input format -
HTML input round-trips through pandoc to clean canonical markdown -
source_format parameter on create/reply/edit endpoints
Phase 3 — Wiki mode + revisions - Per-namespace
toggle (namespace.wiki = True) - Any authenticated user can
edit root nodes in wiki namespaces - Every edit creates a revision
snapshot before overwriting -
POST /api/v1/nodes/{id}/wiki-edit -
GET /api/v1/nodes/{id}/revisions -
GET /api/v1/revisions/{id}/diff/{other_id} — unified diff
between revisions
Phase 4 — Auto-generated themes - Deterministic CSS
per namespace (SHA-256 hash → HSL palette) - Light mode + dark mode
(prefers-color-scheme) -
GET /api/v1/themes/{namespace}/css (1-day cache) -
GET /api/v1/themes/{namespace}/preview (JSON palette)
Progressive enhancement UI - Export
<details> dropdown on every thread and node (works
without JS) - Revision history link for wiki-mode namespaces
548 passed, 6 skipped. 99 new tests across 4 files. CI green.
docs/api.md — 13 new endpoint sectionsdocs/testing.md — curl examples for all new
endpointsdocs/architecture-undigg.md — Graphviz DOT diagrams for
all subsystemsSource: https://meta.remarkbox.com/05bbc2e1-1c96-11f1-b7e9-040140774501
Snapshot: 2026-05-09T12:02:57Z
Generator: Remarkbox 763cacb