Releases: Sommerregen/grav-plugin-mathjax
Grav Plugin MathJax v1.1.1
New:
- Support modular pages
- Added CSS stylesheet and
built_in_css
option
Improved:
- PSR fixes
Grav Plugin MathJax v1.1.0
New:
- Added
<span class="mathjax">
tags around block and inline math formulas
Improved:
- Improved and refactored code
Grav Plugin MathJax v1.0.0
This plugin allows you to include math formulas in your web pages, either using TeX and LaTeX notation, and/or as MathML.
About
MathJax
is a plugin for Grav and integrates the MathJax library, a modern JavaScript-based LaTeX rendering solution for the Internet, into the site.
By default, MathJax source is loaded automatically from the Internet using the
MathJax Content Delivery Network (CDN). This is a light-weight, "out-of-the-box" LaTeX rendering solution and you can still use a custom configuration if you need.
Alternatively, you can host the MathJax library (approximately 150MB) on your server located in your user/data/mathjax
folder.
MathJax then renders mathematics inside the default delimiters. The
default math delimiters are $$...$$
and \\[...\\]
for displayed mathematics, and $...$
and \\(...\\)
for inline mathematics. An example can be seen below: