0.0.2 • Published 9 years ago

gitbook-plugin-typekit v0.0.2

Weekly downloads
1
License
Apache 2
Repository
github
Last release
9 years ago

Gitbook Typekit Plugin

This is a plugin for adding Typekit to a GitBook.

How to use

Add configuration to your book.json. You'll find your Typekit Kit ID in the Typekit Editor under the Embed Code link>.

"plugins": ["typekit@0.0.2"],
pluginsConfig: {
    "typekit" : {
        "kitID": "xxxXXX"
    }
},

Font settings can be added to the Gitbook style CSSes.

"styles": {
        "website": "styles/website.css",
        "pdf": "styles/pdf.css",
        "epub": "styles/epub.css",
        "mobi": "styles/mobi.css"
    },