init: initial commit

This commit is contained in:
st1020 2023-10-20 22:53:59 +08:00
commit e38bcddf57
48 changed files with 3752 additions and 0 deletions

View file

@ -0,0 +1,27 @@
+++
title = "Math Typesetting"
date = "2019-03-08"
description = "A brief guide to setup KaTeX"
extra.math = true
+++
Kita theme support $\LaTeX$ mathematical formulas using [KaTeX](https://katex.org/).
<!--more-->
- To enable KaTeX globally set the parameter `extra.math` to `true` in a project's configuration
- To enable KaTeX on a per page basis include the parameter `extra.math = true` in content files
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
### Examples
<p>
Inline math: $(varphi = dfrac{1+sqrt5}{2}= 1.6180339887…)$
</p>
Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$