The Confluence Plugin MathJax makes MathJax available in your Confluence wiki. Must I say more? From within your Confluence editor you can access MathJax functions to display mathematic formulars on your Confluence page. The plugin was developed by David A.W. Barton (davebarton @ cityinthesky.co.uk).
However, his last release is not compatible anymore with Confluence 7.x. We have created an updated release that is. Find it here…
The new release 2.7 also comes in a CHTML version.
What is Confluence ?
I happen to be involved in the administration and operation of Atlassian applications. Confluence is Atlassian’s awesome Enterprise Wiki. I you haven’t heard of or used it yet, check it out. You can download a trial version right from their web site here: https://www.atlassian.com/software/confluence.
What is a Confluence Plugin ?
Most Atlassian products offer a plugin API that encourages developers to create uesful plugins for the application. In fact, these plugins make Confluence or JIRA for example even more amazing. Atlassian distributes those (and their own) plugins through their Marketplace. They are easy to install through the applications Plugin interface and gives you control over exactly those add-ons that you need.
What is MathJax ?
What is the Confluence Plugin MathJax ?
The Confluence Plugin MathJax makes MathJax available in your Confluence wiki. Must I say more? From within your Confluence editor you can access MathJax functions to display mathematic formulars in your Confluence page. The plugin was developed by David A.W. Barton (davebarton @ cityinthesky.co.uk). All credits go to him for this awesome implementation.
His description of the plugin is this:
Two macros for Confluence are provided: mathinline and mathdisplay. They both accept mathematics in Latex notation and output either an inline equation (within the main text) or a displayed equation (separate from the main text, typically centered on the page). AMSmath extensions for Latex are also enabled.
You can download the original (built with mathjax 1.1) binaries from here:
You will find the source code there too.
The Compatibility Thing
Like with most application plugins, their functionality stands and falls with their compatibility to the mother application. Once Atlassian updates Confluence, there is a chance that your plugins won’t work anymore. Exactly that happened with Conflunce 5.3 that rendered the Confluence Plugin MathJax incompatible with that version.
Fortunately, the Confluence Plugin MathJax plugin is Open Source software and subject to adjustments by other developers so it will work with newer Confluence versions. Since we are using the plugin we have just
done that and would like to provide the updated version of this plugin for you here.
We have tested it successfully with up to Confluence version 5.9.6 so far.
The Updated Plugin
The plugin you can download from here has the following small changes:
- Mathjax configuration slightly altered to enable equation numbering. autonumber: “AMS”
- Plugin pom.xml was changed to be compiled for Confluence (5.3 – 5.6)
- Inline equations now work with Confluence 5.5.6 and higher
You can read more on equation numbering here:
- Download the zip file (see link below)
- Extract the jar file
- Install into Confluence with the UPM (Universal Plugin Manager)
Confluence MathJax Plugin CHTML
Here is a version of the plugin that is much smaller, less than 10% of the other because it does not use png fonts and uses the CommonHTML renderer.
Author: Zsolt Balint