25 lines
504 B
Markdown
25 lines
504 B
Markdown
# @docmd/plugin-math
|
|
|
|
Adds LaTeX mathematics to your docmd site via KaTeX - inline `$...$` and block `$$...$$` syntax, rendered client-side with no server overhead. An optional plugin, installed separately.
|
|
|
|
```bash
|
|
docmd add math
|
|
```
|
|
|
|
```js
|
|
$E = mc^2$
|
|
|
|
$$
|
|
\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}
|
|
$$
|
|
```
|
|
|
|
Part of the **[docmd](https://github.com/docmd-io/docmd)** documentation engine.
|
|
|
|
## Documentation
|
|
|
|
See **[docs.docmd.io](https://docs.docmd.io)** for full usage and API reference.
|
|
|
|
## License
|
|
|
|
MIT |