2017 © Pedro Peláez
 

flarum-extension flarum-latex

Provides LaTeX functionalitty to Flarum

image

matpompili/flarum-latex

Provides LaTeX functionalitty to Flarum

  • Thursday, December 17, 2015
  • by matpompili
  • Repository
  • 1 Watchers
  • 1 Stars
  • 191 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

flarum-LaTeX

flarum-LaTeX is a Flarum extension to support LaTeX, using KaTeX., (*1)

Flarum is a free, open-source forum software built with PHP and Mithril.js., (*2)

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web., (*3)

Features

With flarum-Latex you can render LaTeX mathematical expressions inside your forum just by typing them, in the same way you would do your TeX document., (*4)

It supports: - Inline expressions like $\sin\theta$, as well as - Display expressions, such as $$\frac{\cos(kx)}{\cos(x)}$$., (*5)

It also doesn't mess up with Markdown and BBCode extensions, so you can use all of them at the same time., (*6)

This is how the previous paragraph will look like:, (*7)

Imgur, (*8)

Install

The only way to get flarum-latex is with composer: in your flarum folder run composer require matpompili/flarum-latex Then enable it you administration panel. Done!, (*9)

Usage

You can write mathematical expressions in the composer and when the post is submitted it will be rendered correctly, even if the preview is messed up by Markdown, BBCode and emojis., (*10)

Tip

If you want to actually show the LaTeX code, you must use Markdown in the following way:, (*11)

This is an expression I don't want to render
```
$$\cos(\pi) + 1 = 0$$
```
While this is going to be rendered: $yes$

The Versions

17/12 2015

dev-master

9999999-dev

Provides LaTeX functionalitty to Flarum

  Sources   Download

MIT

The Requires

 

by Matteo Pompili

05/12 2015

v1.0.0

1.0.0.0

Provides LaTeX functionalitty to Flarum

  Sources   Download

MIT

The Requires

 

by Matteo Pompili

05/12 2015

0.1.2

0.1.2.0

Provides LaTeX functionalitty to Flarum

  Sources   Download

MIT

The Requires

 

by Matteo Pompili