- From the web UI, any page can be saved as a PDF in the browser, with nothing installed on the server.
- From the CLI, REST API, or MCP, KiwiFS runs Pandoc, Marp, or MkDocs on the server for every format and option.
Export a page from the web UI
Open a page, click the page actions menu, and choose Export as PDF. The web UI compiles the PDF in your browser with Typst. Wiki links print as their link text, and embeds such as![[diagram.png]] are left out.
The same menu has Export as Markdown, which downloads the page’s source file.
The browser loads the Typst compiler from the jsDelivr CDN the first time you export, so the browser needs internet access.
Server-side export
- CLI
- REST
- MCP
Terminal
-o, the file is named after the input, such as report.pdf. The CLI shares its --root, --path, and --output flags with data export.Formats and required tools
For PDF, KiwiFS uses Typst when it’s installed and falls back to XeLaTeX. Over REST and MCP,
mkdocs and docs are aliases for site.
Options
KiwiFS looks for the citation style as
.kiwi/references/<name>.csl, then <name>.csl at the knowledge root. Put the CSL file for apa, ieee, or any other style in one of those places. Without a matching file, Pandoc uses its default style.
Export a folder as a book
Whenpath is a folder, KiwiFS stitches its pages into one document with a table of contents. It orders pages by:
- The
partslist in a_book.yamlfile in the folder, if there is one. - Otherwise, an
orderornav_orderfrontmatter field, then a numeric file name prefix such as01-intro.md, then the file name.
handbook/_book.yaml
_book.yaml can also set date, lang, theme, and template.
Related
Data export
JSONL, CSV, and Parquet.
Publishing
Share pages on the web without exporting.