gitbook-plugin-typekit

0.0.2 • Public • Published

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"
    },

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-typekit

Weekly Downloads

1

Version

0.0.2

License

Apache 2

Last publish

Collaborators

  • kmelve