riot-katex/README.md
Valentin Boettcher c8c4fba83a add fonts and docs
2020-04-09 16:06:36 +02:00

16 lines
543 B
Markdown

# Riot KaTeX
This extension injects KaTeX into the `Riot` chat client for
`matrix`. This currently works for just one domain
(matrix.tu-dresden.de). If you want to use it, you have to adjust the
`manifest.json`.
## Writing LaTeX
- `$$x^2$$` renders math block style
- `\(x^2\)` renders math inline
## Building the Extension
- make sure you have npm installed
- run `./package.sh`, the webextension will be zipped as
`katex-riot.zip` and the file structure of the extionsion is
written to the folder `katex-riot-pub` for debugging