PHPackages                             terrylinooo/wp-mathjax - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. terrylinooo/wp-mathjax

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

terrylinooo/wp-mathjax
======================

Render your MathJax TeX syntax on WordPress.

1.0.1(2y ago)411[2 issues](https://github.com/terrylinooo/wp-mathjax/issues)GPL-3.0-or-laterJavaScript

Since May 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/terrylinooo/wp-mathjax)[ Packagist](https://packagist.org/packages/terrylinooo/wp-mathjax)[ Docs](https://github.com/terrylinooo/wp-mathjax)[ RSS](/packages/terrylinooo-wp-mathjax/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WP Mathjax
==========

[](#wp-mathjax)

WP Mathjax displays mathematical notation in web browsers, using MathML, LaTeX and ASCIIMathML markup on WordPress by using MathJax.js.

Download
--------

[](#download)

sourcedownloadWordPressGitHub repositoryPHP Composer`composer create-project terrylinooo/wp-mathjax wp-mathjax`Installation
------------

[](#installation)

1. Upload the plugin files to the `/wp-content/plugins/wp-mathjax` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to the WP mathjax menu in Settings and set your options.

How to use
----------

[](#how-to-use)

WP Mathjax is smart enough that loads mathjax.js only when your posts contain mathjax syntax, by detecting the use of shortcode and block. So it will not be loaded on your website everywhere.

### Shortcode

[](#shortcode)

In classic editor, you can use the shortcode to render your mathjax syntax. If you are using WordPress version below 5.0, this is the only way you can use this feature.

```
[mathjax]
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.
[/mathjax]

```

### Gutenberg Block

[](#gutenberg-block)

Choose a mathjax block:

[![](assets/example-gutenberg-block-1.png)](assets/example-gutenberg-block-1.png)

Fill in your mathjax syntax in the editor.

[![](assets/example-gutenberg-block-2.png)](assets/example-gutenberg-block-2.png)

### Changelog

[](#changelog)

- 1.0.0

    - First release.
- 1.0.1

    - Test up to PHP 8.2.5 and WordPress 6.2.2
    - Add Japanese translation, thanks to [Colocal](https://colocal.com).
    - Upgrade MathJax.js from 2.7.8 to 2.7.9

### License

[](#license)

WP Mathjax is developed by [Terry Lin](https://terryl.in) and released under the terms of the GNU General Public License v3.

### Also See

[](#also-see)

If you are looking for a [Markdown editor](https://wordpress.org/plugins/wp-githuber-md/) supporting mathjax, you can also check out my another WordPress plugin called the [WP Githuber MD](https://github.com/terrylinooo/githuber-md), which provides a variety of features not just mathjax, it is worth to try.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1079d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fca418a834057a4203c6856e316ca4d7c71fa1b9076977e08e5c4d5a9cc9aec6?d=identicon)[terrylinooo](/maintainers/terrylinooo)

---

Top Contributors

[![terrylinooo](https://avatars.githubusercontent.com/u/11989371?v=4)](https://github.com/terrylinooo "terrylinooo (12 commits)")

---

Tags

katexmathmathjaxwordpress-pluginmathwordpress pluginMathJax

### Embed Badge

![Health badge](/badges/terrylinooo-wp-mathjax/health.svg)

```
[![Health](https://phpackages.com/badges/terrylinooo-wp-mathjax/health.svg)](https://phpackages.com/packages/terrylinooo-wp-mathjax)
```

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16720.7M17](/packages/phpseclib-bcmath-compat)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)[log1x/navi

A developer-friendly alternative to the WordPress NavWalker.

367633.2k7](/packages/log1x-navi)[jlawrence/eos

Parse and solve math equations without using 'eval()'.

1071.1M11](/packages/jlawrence-eos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
