mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 08:24:06 -04:00
chore: server side rendering of math equations (#589)
This commit is contained in:

committed by
GitHub

parent
c74d44492e
commit
b700825943
@ -4,7 +4,7 @@ weight: 4
|
||||
math: true
|
||||
---
|
||||
|
||||
$\KaTeX$ は LaTeX の数式をレンダリングするために使用されます。ページのフロントマターで `math` を `true` に設定することで、ページごとに有効にすることができます。
|
||||
\(\KaTeX\) は LaTeX の数式をレンダリングするために使用されます。ページのフロントマターで `math` を `true` に設定することで、ページごとに有効にすることができます。
|
||||
|
||||
<!--more-->
|
||||
|
||||
@ -25,10 +25,10 @@ Markdown コンテンツ内で、インラインおよび別段落の LaTeX 数
|
||||
### インライン
|
||||
|
||||
```markdown {filename="page.md"}
|
||||
これは $\sigma(z) = \frac{1}{1 + e^{-z}}$ インラインです。
|
||||
これは \(\sigma(z) = \frac{1}{1 + e^{-z}}\) インラインです。
|
||||
```
|
||||
|
||||
これは $\sigma(z) = \frac{1}{1 + e^{-z}}$ インラインです。
|
||||
これは \(\sigma(z) = \frac{1}{1 + e^{-z}}\) インラインです。
|
||||
|
||||
### 別段落
|
||||
|
||||
@ -86,7 +86,7 @@ $$
|
||||
|
||||
化学式は [mhchem](https://mhchem.github.io/MathJax-mhchem/) 拡張機能を介してサポートされています。
|
||||
|
||||
インライン: $\ce{H2O}$ は水です。
|
||||
インライン: \(\ce{H2O}\) は水です。
|
||||
|
||||
別段落:
|
||||
|
||||
|
Reference in New Issue
Block a user