Skip to content
Margo v0.0.5

Margo mascot preparing a document

Margo is one Go module and one margo command for turning ordinary Markdown into standalone HTML, linked static sites, PDF documents, and an experimental presentation deck projection. This showcase is the public path through those capabilities: each page is a small, runnable-looking example of one feature.

Start with the surface

Markdown table
FeatureOutputBest first stop
Markdown compilerA semantic document modelMarkdown
Standalone HTMLOne portable HTML pageHTML
Static sitesLinked pages plus a manifestStatic sites
PDF documentsPrint-ready PDF bytesPDF
Presentation decksExperimental HTML/PDF projectionDecks
ChartsStatic SVG, accessible data, optional interactionCharts
Mermaid diagramsRendered flowcharts with a text fallbackMermaid
Policy and diagnosticsActionable validationPolicy

One source, several projections

Complete Mermaid source: treeView-beta "ordinary Markdown" check ## compatibility findings html ## standalone HTML site ## linked HTML pages pdf ## browser-backed PDF deck ## experimental deck projection mermaid ## rendered diagram plus source fallbackScroll diagram horizontally to inspect all labels.
Mermaid source for One source, several projections
treeView-beta
  "ordinary Markdown"
    check ## compatibility findings
    html ## standalone HTML
    site ## linked HTML pages
    pdf ## browser-backed PDF
    deck ## experimental deck projection
    mermaid ## rendered diagram plus source fallback
Mermaid diagram for One source, several projections, with its source available as a text fallback.

The compiler keeps the document content separate from the host-owned frame, metadata, assets, and publication choices. The CLI adds explicit output and diagnostic boundaries around the same module surface. This tree uses Mermaid's TreeView syntax, so the visual structure remains source text with a readable fallback.

A predictable workflow

sh
margo check guide.md
margo html guide.md --output guide.html
margo pdf guide.md --output guide.pdf

For a larger publication, point margo site at a directory of Markdown files. For a programmatic integration, import the root module and choose the package that owns the projection you need.

This is a feature tour, not the project's internal decision log. For source, releases, and the complete public README, visit the Margo repository.