Skip to main content
Beyond JSONL and CSV, KiwiFS can render markdown into deliverable formats using Pandoc, Marp, MkDocs, and Typst tooling (bundled in the Docker image). The web UI also supports in-browser PDF export via Typst without server-side dependencies.

Endpoint

Request body

string
required
Output format: pdf, html, slides, site, or mkdocs.
string
required
File or directory under the knowledge root to render.
string
Theme name for HTML/PDF output.
boolean
default:"false"
Produce a single-file HTML with embedded assets.
string
BibTeX path for citations.
string
Citation style preset: apa, ieee, chicago, vancouver, or harvard.
string
PDF engine: typst or xelatex (default: auto-detect).
string
Slide format (Marp).
string
Static site title (for site format).
string
Canonical site URL.
string
Edit-on-GitHub style link for the generated site.

Examples

The response streams the rendered artifact with an appropriate Content-Type. Large exports may take up to five minutes server-side.

MCP

kiwi_export_document accepts the same options for agent-driven publishing workflows.

Format details

Uses Typst by default for fast compilation. Falls back to XeLaTeX via Pandoc when Typst is unavailable. The web UI also provides in-browser PDF export via a bundled Typst WASM compiler — no server-side tools required.
The mkdocs format generates a complete MkDocs project directory with mkdocs.yml, navigation, and theme configuration. Build the static site with mkdocs build or preview with mkdocs serve.
Renders Marp-formatted markdown into HTML, PDF, or PPTX slides. Use slide_format to control the output type.
The site format produces a ready-to-deploy static site as a ZIP archive, with navigation generated from the directory structure.

Docker requirement

Server-side PDF (via Pandoc/Typst CLI) and site generation depend on external tools bundled in the official Docker image. Bare-metal installs may need Pandoc and related dependencies installed separately. In-browser PDF export via the web UI works without these dependencies.

Export overview

JSONL, CSV, and Parquet export.

Import/export API

REST reference.
Last modified on June 25, 2026