Skip to content
This repository was archived by the owner on Sep 17, 2018. It is now read-only.

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flagrow/flarum-ext-latex

Latest Stable Version License Gitter

A Flarum extension to render LaTeX expressions in your posts.

Features

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.

It supports:

  • Inline expressions like $\sin\theta$, as well as
  • Display expressions, such as $$\frac{\cos(kx)}{\cos(x)}$$.

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:

Imgur


Install

composer require flagrow/flarum-ext-latex

Configuration

No configuration, it works out of the box.

End-user usage

Write LaTeX expressions in your post like you would in your TeX editor.

Tip

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$

Links

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages