diff options
| author | Jieiku | 2026-08-14 15:10:15 -0700 |
|---|---|---|
| committer | Jieiku | 2026-08-14 15:10:15 -0700 |
| commit | c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c (patch) | |
| tree | 51a272ef184752e27bb70c07e4726dbdbbe6e237 /content/overview-math.md | |
| parent | d52609f456f233ec0845c8a57a1e27583f0813ad (diff) | |
| download | abridge-c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c.tar.gz abridge-c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c.tar.bz2 abridge-c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c.zip | |
Update for Zola 0.23.3
Diffstat (limited to 'content/overview-math.md')
| -rw-r--r-- | content/overview-math.md | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/content/overview-math.md b/content/overview-math.md index 3d29dd3..27ef78a 100644 --- a/content/overview-math.md +++ b/content/overview-math.md @@ -76,17 +76,19 @@ This is the most beautiful equation I've ever seen: ### Usage +{% raw %} ```rs -{%/* katex(block=false) */%} e^{i\pi}+1=0 {%/* end */%} +{% <katex block={false}> %} e^{i\pi}+1=0 {% </katex> %} ``` +{% endraw %} ### Output ```html -{% katex(block=false) %} e^{i\pi}+1=0 {% end %} +{% <katex block={false}> %} e^{i\pi}+1=0 {% </katex> %} ``` -{% katex(block=false) %} e^{i\pi}+1=0 {% end %} +{% <katex block={false}> %} e^{i\pi}+1=0 {% </katex> %} ### Block Mathematics @@ -94,17 +96,35 @@ Some Mathematics in display mode is fair enough: ### Usage +{% raw %} ```rs -{%/* katex(block=true) */%} \int_0^1 x^2 dx {%/* end */%} +{% <katex block={true}> %} \int_0^1 x^2 dx {% </katex> %} ``` +{% endraw %} ### Output ```html -{% katex(block=true) %} \int_0^1 x^2 dx {% end %} +{% <katex block={true}> %} \int_0^1 x^2 dx {% </katex> %} ``` -{% katex(block=true) %} \int_0^1 x^2 dx {% end %} +{% <katex block={true}> %} \int_0^1 x^2 dx {% </katex> %} + +### Usage + +{% raw %} +```rs +{% <katex block={true}> %} f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi {% </katex> %} +``` +{% endraw %} + +### Output + +```html +{% <katex block={true}> %} f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi {% </katex> %} +``` + +{% <katex block={true}> %} f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi {% </katex> %} ### Auto Render Inline |
