mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 13:26:22 +00:00
docs(latex): mhchem
This commit is contained in:
parent
1929241a62
commit
6be1ed1ea2
1 changed files with 9 additions and 0 deletions
|
@ -57,6 +57,15 @@ For example:
|
||||||
- Incorrect: `I have $1 and you have $2` produces I have $1 and you have $2
|
- Incorrect: `I have $1 and you have $2` produces I have $1 and you have $2
|
||||||
- Correct: `I have \$1 and you have \$2` produces I have \$1 and you have \$2
|
- Correct: `I have \$1 and you have \$2` produces I have \$1 and you have \$2
|
||||||
|
|
||||||
|
### Using mhchem
|
||||||
|
|
||||||
|
Add the following import to the top of `quartz/plugins/transformers/latex.ts` (before all the other
|
||||||
|
imports):
|
||||||
|
|
||||||
|
```ts title="quartz/plugins/transformers/latex.ts"
|
||||||
|
import "katex/contrib/mhchem"
|
||||||
|
```
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
Latex parsing is a functionality of the [[plugins/Latex|Latex]] plugin. See the plugin page for customization options.
|
Latex parsing is a functionality of the [[plugins/Latex|Latex]] plugin. See the plugin page for customization options.
|
||||||
|
|
Loading…
Reference in a new issue