mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
added katex shortcode example
This commit is contained in:
parent
4517ae0f0f
commit
9cb99c0ec7
1 changed files with 5 additions and 2 deletions
|
@ -11,9 +11,12 @@ KaTeX can be used to render mathematical notation within articles.
|
||||||
|
|
||||||
{{< katex >}}
|
{{< katex >}}
|
||||||
|
|
||||||
Blowfish will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Any KaTeX syntax on that page will then be automatically rendered.
|
Blowfish will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Example below:
|
||||||
|
|
||||||
Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
```md
|
||||||
|
{{</* katex */>}}
|
||||||
|
```
|
||||||
|
Any KaTeX syntax on that page will then be automatically rendered. Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax.
|
||||||
|
|
||||||
## Inline notation
|
## Inline notation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue