riot-katex/README.md

17 lines
543 B
Markdown
Raw Normal View History

2020-04-09 14:31:27 +02:00
# 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
2020-04-09 16:06:36 +02:00
## 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