2.1.2 • Published 3 years ago

honkit-plugin-styles-sass v2.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

SASS Stylesheets for HonKit

Forked from GitbookIO/plugin-styles-sass.

This plugin makes it easy to use SASS custom stylesheets instead of CSS for your book.

Install it:

npm install --dev honkit-plugin-styles-sass # if you use npm
yarn add --dev honkit-plugin-styles-sass # if you use yarn

# If you encounter the error "error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?", you might need to do this:
CXXFLAGS="--std=c++17" npm install --dev honkit-plugin-styles-sass # if you use npm
CXXFLAGS="--std=c++17" yarn add --dev honkit-plugin-styles-sass # if you use yarn

Add it to your book.json, with some custom stylesheets:

{
    "plugins": ["styles-sass"],
    "styles": {
        "pdf": "./pdf.scss",
        "website": "./website.scss"
    }
}
2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

4 years ago