Vivliostyle Theme Dnd5e Phb
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
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
.