MathJax project logo.

The Drupal 8 release has arrived.

This module integrates the MathJax library into your Drupal site. MathJax is the modern JavaScript-based LaTeX rendering solution for the Internet.

MathJax is one of several options for rendering LaTeX formulas on your Drupal site.


  • Choice between loading the third party library code from MathJax servers (default), or from your website.
  • Add your own MathJax configuration - version 1.1 and higher.
  • Configurable MathJax library script URL - version 1.1 and higher.
  • Mathjax operates as a text filter - version 2.0 and higher.

By default, the MathJax library is downloaded from MathJax Content Delivery Network (CDN) through a secure connection in a transparent manner. 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 on your server (using the libraries module).

Version 2

Version 2 includes a text filter for MathJax. This allows site admins and content editors fine-grained control over which fields apply MathJax formatting. It nullifies the need for the per-path activation setting.

Supporting organizations: 

Project Information