mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
✨ feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
This commit is contained in:
parent
5cdc18e688
commit
edcfa359ef
9 changed files with 42 additions and 42 deletions
|
|
@ -36,6 +36,8 @@ katex = true
|
|||
+++
|
||||
```
|
||||
|
||||
You may enable it globally as well, by setting `katex = true` in the `[extra]` section of your `config.toml`.
|
||||
|
||||
For enhanced performance and security, the $\KaTeX$ JavaScript, CSS, and fonts are hosted locally.
|
||||
|
||||
**Note**: After enabling $\KaTeX$, if you want to use \$ without rendering a mathematical expression, escape it with a single backslash: `\$`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue