gitbook-plugin-mathjax-pro
v0.0.6
Published
MathJAX integration into GitBook to display math and latex equations
Readme
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 [email protected]- Add it to your
book.jsonconfiguration:
{
"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 [email protected]- 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
}
}
}