Vivliostyle CLI has been majorly upgraded to v3
In our first entry of the year, “New Year’s Greetings and Updates on Vivliostyle”, we wrote that Vivliostyle CLI v3 was being prepared, and we are happy to announce that v3.0.0 was officially released on February 7!
As a major upgrade, includes many changes. Let’s list just some of a major new features:
- Publications can now be customized using a
- Vivliostyle Themes can now be specified as a style.
- The following input formats are now also accepted:
- “VFM”……Markdown enhanced for books.
- “EPUB”……De facto format in e-books.
- We support the following output format:
- webpub……HTML exchange format (Same as “webbook” in the entry of 2021/01/06. Same as “webbook”. The reason for the change is here)
Of the above, @spring_raining, a contributor, made a short video about the configuration file, Vivliostyle Themes, and the build process using VFM. The video is shown at the beginning of this entry. Here is a detailed timeline of the video:
- Overview of the work. (to 0.01 sec.)
- Generate configuration files using a terminal. (to 0.02 sec.)
- Load the configuration file
Vivliostyle.config.js. (to 0.12 sec.)
- Customize by overwriting the configuration files. (to 0.21 sec.)
- Using a terminal to load the style file. (Bunko Theme). (to 0.27 sec.)
- Use a terminal to read Markdown file, then build and output PDF file. (to 0.47 sec.)
- Using Chromium to Preview Typesetting Results.(to 1.05 sec.)
- Export PDF file from Chromium. (to 1.15 sec.)
With the above mentioned upgrade to , the utility of the Vivliostyle CLI has been greatly improved. The CLI is a key component at the heart of Vivliostyle Pub, which we hope to release this year. Please stay tuned for Vivliostyle’s next step!
“Vivliostyle CLI” has been added to “Documentation > User Guides”. This is an official guide that starts with installation and goes through each purpose in detail explaining its functionality. Please check it out!