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
|
|||
+++
|
||||
```
|
||||
|
||||
Per activar-lo globalment, afeigeix `katex = true` a la secció `[extra]` del teu `config.toml`.
|
||||
|
||||
Per obtenir un millor rendiment i seguretat, els fitxers JavaScript, CSS i les tipografies de $\KaTeX$ s'allotgen localment.
|
||||
|
||||
**Nota**: Després d'activar $\KaTeX$, si vols utilitzar el caràcter \$ sense renderitzar-lo com a expressió matemàtica, escapa'l amb una barra inversa: `\$`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue