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
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_doc/samples at gh-pages · vivliostyle/vivliostyle_doc
- MurakamiShinyu/kaigainotabi1
- Option to use a specific Vivliostyle Viewer version or its URL · Issue #232 · vivliostyle/vivliostyle-cli