My old package had some conflicts with other packages. So, while fixing it, we moved it to a new Flagrow-made package: Latex
- No configuration, it works out of the box
- Write your math expressions as your normally would in your
- As in all our packages, the source is extensively commented
You can follow the development of
flagrow/flarum-ext-latex on Github as well as our other projects.
A Flarum extension to render LaTeX expressions in your posts.
With flagrow-ext-latex you can render LaTeX mathematical expressions inside your forum just by typing them, in the same way you would do your TeX document.
- Inline expressions like
$\sin\theta$, as well as
- Display expressions, such as
It also doesn't mess up with Markdown and BBCode extensions, so you can use all of them at the same time.
This is how the previous paragraph would look like:
composer require flagrow/flarum-ext-latex
No configuration, it works out of the box.
Write LaTeX expressions in your post like you would in your TeX editor.
If you want to actually show the LaTeX code, you must use Markdown in the following way:
This is an expression I don't want to render
$$\cos(\pi) + 1 = 0$$
While this is going to be rendered: $yes$