ASAP
A Web extension that adds Markdown and LaTeX support to Pronto.
To bundle the extension, run nix build
in the root of this repository. The
result and dependency licenses will appear at result/asap.zip
and
result/licenses.txt
.
Guide
GFM is supported.
A pair of $
invokes KaTeX inline and a pair of $$
invokes KaTeX inline or in
display mode (depending on whether the two $$
each have their own line). For
example,
This is text and $\pi \in \mathbb R$. Also, $$1 + 1 = 2$$.
$$
\begin{align*}
\sum_{n = 1}^{10} n & = \frac{10 \cdot 11} 2 \\
& = 55
\end{align*}
$$
A code block with math
as the language also invokes display mode:
```math
\begin{align}
& x + y = x \nonumber \\
\implies & y = 0
\end{align}
```
Development
The extension can be tested by temporarily installing it in Firefox or by installing it in Chromium-based browsers.
License
The files in this repository (except COPYING
) are licensed under the GNU
General Public License v2.0 only, a copy of which exists in COPYING
.