Skip to content

oldgeese/vivliostyle-theme-dnd5e-phb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.