improve tex (mathjax) support

This commit is contained in:
Hanwen Guo 2022-08-27 21:39:46 +08:00
parent 10130c4963
commit 44f8ee0b7d
3 changed files with 17 additions and 0 deletions

11
content/posts/test-tex.md Normal file
View File

@ -0,0 +1,11 @@
---
title: "Test Tex"
date: 2022-08-26T22:28:10+08:00
mathjax: true
draft: true
---
{{< texi `\varphi` >}}
{{< texd `\begin{aligned}
\varphi &\Rightarrow \psi \\
\varnothing &\rightarrow A
\end{aligned}` >}}

View File

@ -0,0 +1,3 @@
<span>
$${{ .Get 0 }}$$
</span>

View File

@ -0,0 +1,3 @@
<span>
\({{ .Get 0 }}\)
</span>