Render the vault to a directory of static HTML files.
Export the vault to static HTML
Renders every markdown page in the vault to HTML, resolving
[[wikilinks]] to relative anchor tags. Output is a standalone
site that can be served from any static file server or opened via
file://.
The rendered site is regenerable from the vault, so it defaults to
the R user cache directory (tools::R_user_dir("pensar",
"cache")/site) rather than living inside the vault itself. Pass a
different out_dir to override, or set the
PENSAR_SITE_DIR environment variable to change the default
globally (e.g., point it at a Syncthing folder so edits propagate
to other devices on export).
Requires the pandoc command-line tool to be available.