项目作者: oldgeese

项目描述 :
Vivliostyle Theme D&D 5E PHB style
高级语言: Less
项目地址: git://github.com/oldgeese/vivliostyle-theme-dnd5e-phb.git
创建时间: 2021-01-11T14:07:12Z
项目社区:https://github.com/oldgeese/vivliostyle-theme-dnd5e-phb

开源协议:MIT License

下载


Vivliostyle Theme Dnd5e Phb

npm: version
npm: total downloads
npm: license

D&D 5e PHB theme for Vivliostyle

Install

  1. npm install --save vivliostyle-theme-dnd-5e-phb
  2. # or
  3. yarn add vivliostyle-theme-dnd-5e-phb

Use

In vivliostyle.config.js:

  1. module.exports = {
  2. theme: 'vivliostyle-theme-dnd-5e-phb',
  3. };

Sample Image

Sample Image

Full sample document

see example/sample.md

Dev

Edit phbStyle/*, then run npm phb or yarn phb.

Preview

  1. npm preview
  2. # or
  3. yarn preview

You can specify layout file with --layout flag:

  1. npm preview --layout example/default.md
  2. # or
  3. yarn preview --layout example/default.md

Validate

Validate before publishing your package.

  1. npm validate
  2. # or
  3. yarn validate

License

This project is licensed under the MIT license.

Files under phbStyle directory are ported from naturallcrit/homebrewery. Their license file are placed in phbStyle/license.