oldgeese / vivliostyle-theme-dnd5e-phb

Vivliostyle Theme D&D 5E PHB style

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vivliostyle Theme Dnd5e Phb

npm: version npm: total downloads npm: license

D&D 5e PHB theme for Vivliostyle

Install

npm install --save vivliostyle-theme-dnd-5e-phb
# or
yarn add vivliostyle-theme-dnd-5e-phb

Use

In vivliostyle.config.js:

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

Sample Image

Sample Image

Full sample document

see example/sample.md

Dev

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

Preview

npm preview
# or
yarn preview

You can specify layout file with --layout flag:

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

Validate

Validate before publishing your package.

npm validate
# or
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.

About

Vivliostyle Theme D&D 5E PHB style

License:MIT License


Languages

Language:Less 99.7%Language:JavaScript 0.3%