if / flajax
MathJax extension for flarum
Installs: 196
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Open Issues: 0
Language:JavaScript
Type:flarum-extension
Requires
- flarum/core: ^1.0
This package is not auto-updated.
Last update: 2024-11-15 00:50:35 UTC
README
Extension for flarum that allows you to write complex math formulas with LaTeX syntax.
- Install flarum plugin with:
composer require if/flajax
- Enable plugin in flarum admin panel
- Follow this rules when writing your math:
- Just enclose inline math formulas in single dollar signs
$ ... $
- or use double dollar signs for formulas in a separate line
$$
...
$$
- In order to enumerate equations use
$$
\begin{equation}
...
\label{eqEmc}
\end{equation}
$$
- This way one can reference to it by using Eq.
\ref{eqEmc}
. Use {} with superscript:E=mc^{2}
if you want proper superscripts handling by LaTeX.