Math
Typeset math from: Writing math with Hugo | Misha Brukman
test inline: $\psi_{rq} =L_ri_{rq}- \frac{L_{M}^{2}}{L_{s}}i_{rq}$
test align:
use 3 backslashes \\\
instead of 2 \\
, it works, but is odd…
$$ \begin{aligned} u_{rd} &= R_ri_{rd}+ \sigma L_{r}\frac{d i_{rd}}{dt}-\omega_{s1}\sigma L_{r}i_{rq}+ \left(\frac{L_{M}}{L_{s}}\frac{d}{dt}\psi_{s}\approx 0 \right)\\\ u_{rq} &= R_ri_{rq}+\sigma L_{r}\frac{d i_{rq}}{dt}+\omega_{s1}\sigma L_{r}i_{rd}+\omega_{s1}\frac{L_{M}}{L_{s}} \psi_s \end{aligned} $$
Figure
A figure from my oss, Markdown syntax 
works:
A local figure, 
, while the actual image file is in \static\images
:
Use local image and tips: Rendering Images in Markdown Preview of Hugo Site | Mike F. Robbins (mikefrobbins.com)
Switched to PicGo with Github repo, also works:
Github Pages and deploy
Host on GitHub | Hugo (gohugo.io)
Code blocks
|
|
Other settings
demo: PaperMod (adityatelange.github.io)
source: adityatelange/hugo-PaperMod at exampleSite (github.com)
Tags
https://discourse.gohugo.io/t/how-to-add-tag-and-category/3202
yaml: tags: ["test Hugo and PaperMod"]
config.yml
:
taxonomies:
category: categories
tag: tags
series: series
toc
Many thanks to: Hugo侧边目录 | 3rd’s Blog
and
Hugo博客目录放在侧边 | PaperMod主题 | Sulv’s Blog (sulvblog.cn)
test bold, italics, inline code
Reference
Started this blog from this tutorial (internal access): 使用ZJU Git快速搭建个人博客 - CC98论坛