Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

I'm really confused about how to use plugins. #12

Closed
Ir1d opened this issue Sep 10, 2015 · 1 comment
Closed

I'm really confused about how to use plugins. #12

Ir1d opened this issue Sep 10, 2015 · 1 comment

Comments

@Ir1d
Copy link

Ir1d commented Sep 10, 2015

The help doc didn't help very much here.

I added this into my book.json:

{
   plugins: ["katex"]
}

but the build failed, so I changed into this:

{
    "plugins": ["katex"]
}

again it did not work, telling me that

info: load plugin katex ....ERROR
Error: Error loading plugins: katex. Run 'gitbook install' to install plugins from NPM.

So what exactly should I be doing to enable MathJax for my doc?

Thanks again for this great system.

@SamyPesse
Copy link
Member

This plugin is mathjax, not katex.

You did the right thing, but like the message is telling you, you need to run gitbook install to download plugins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants