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
|
|||
+++
|
||||
```
|
||||
|
||||
Para activarlo globalmente, añade `katex = true` en la sección `[extra]` de tu `config.toml`.
|
||||
|
||||
Para un mejor rendimiento y seguridad, el JavaScript, CSS y las fuentes de $\KaTeX$ se alojan localmente.
|
||||
|
||||
**Nota**: Después de habilitar $\KaTeX$, si deseas usar \$ sin representar una expresión matemática, escápalo con una sola barra invertida: `\$`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue