Contents

Usage

Set the site root, mark valid posts with EXPORT_FILE_NAME, and choose an export command.

Before you export§

Set ox-zola-base-dir or the ZOLA_BASE_DIR keyword. Set ox-zola-section or the matching section keyword for the default output section.

For subtree exports, the post subtree must have EXPORT_FILE_NAME. A subtree with EXPORT_FILE_NAME cannot contain another subtree with that property; post subtrees are leaves.

Export commands§

The Zola backend is available under Z in M-x org-export-dispatch (C-c C-e):

KeyAction
zExport the current subtree or file
OExport the current subtree or file and open it
AExport all subtrees, or the whole file
ZExport the file to a temporary buffer
fExport the file to a Markdown file
oExport the file to a Markdown file and open it

The subtree/file command is the usual WIM export: if point is in a valid post subtree it exports that subtree; otherwise, if the file has a #+title, it exports the whole file.

Customization§

Use M-x customize-group RET ox-zola to inspect the available export options.