Skip to main content

Module export_html

Module export_html 

Source
Expand description

export --format html (first-author-path plan 11): one self-contained HTML file per mem — the read surface for non-operators. A file you hand to a person: no server, no account, no installed anything.

Hard lines:

  • Self-contained: zero network requests on open. External links (<a href>) are passive and stay clickable; external resources (images, media) are degraded to plain links naming their target — user markdown citing a web image must not make the export dial home. Inline styling only, one file, no asset directories.
  • Sanitised: raw HTML in user markdown is escaped as text — the export never embeds or executes user-supplied markup.
  • Deterministic given (store, export date): entities ordered by (type, id); one date stamp; re-exports diff cleanly.
  • Read-only projection of one mem: cross-mem edges render as labelled references, stubs render marked, and a read-only mount exports with its trust class stated in the identity block.