0.0.6 • Published 3 years ago

gitbook-plugin-mathjax-pro-windows-os v0.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

New changes for Windows operating system (The EOF is \r\n instead).

The original package is from Gitbook-Plugin-Mathjax-Pro.


How to use it?

  • Install the mathjax 2.7.7
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
        }
    }
}
0.0.6

3 years ago