0.0.6 • Published 5 years ago
gitbook-plugin-mathjax-pro v0.0.6
How to use it?
The default version of mathjax is 2.7.7
So the following steps will be based on this version.
- Install the mathjax
npm install mathjax@2.7.7
- Add it to your
book.json
configuration:
{
"plugins": ["mathjax-pro"]
}
- Install your plugins using:
gitbook install ./
And then you can use mathjax in you gitbook.
Configuration
Change the version
You can change the version of mathjax such as 2.7.5
- Install the mathjax
npm install mathjax@2.7.5
- Adding it to
book.json
:
{
"pluginsConfig": {
"mathjax-pro":{
"version": "2.7.5"
}
}
}
Use of svg
You can force the use of svg pre-processed
- adding to your
book.json
:
{
"pluginsConfig": {
"mathjax-pro":{
"forceSVG": true
}
}
}