D&D 5e PHB theme for Vivliostyle
npm install --save vivliostyle-theme-dnd-5e-phb
# or
yarn add vivliostyle-theme-dnd-5e-phb
In vivliostyle.config.js
:
module.exports = {
theme: 'vivliostyle-theme-dnd-5e-phb',
};
see example/sample.md
Edit phbStyle/*
, then run npm phb
or yarn phb
.
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 before publishing your package.
npm validate
# or
yarn validate
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
.