Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vivliostyle CLI

install

# Node.js
pnpm add -g @vivliostyle/cli

usage

mkdir <dir>
cd <dir>
vivliostyle init
subl vivliostyle.config.js
# Edit it as needed

Question

I don't know why, but sometimes after you use "vivliostyle preview", you need to used Task Manager to find and stop the (multi-) chromium process.

vivliostyle preview
# Build html, pdf
vivliostyle build
# Build epub
vivliostyle build --format epub -o <file>.epub

reference

vivliostyle_01 vivliostyle_02 vivliostyle_03