快轉到主要內容

Hugo 小抄

-
目錄

很難記所以寫了一份小抄

錨點

# xxx {#id}
中間要空格
...
[goto](/posts/url#id/)

1. Icon

Icon namePreviewIcon namePreview
triangle-exclamationcircle-info
checkxmark
lightbulbfire
searchglobe
location-dotlock
codelink
listbars
heartheart-empty
bombbug
downloadcomment
emailedit
expandeye
ghostfork
graduation-caplanguage
imageshield
mug-hotmusic
pencilpgpkey
phonepoo
rssrss-square
scale-balancedskull-crossbones
moonsun
starwand-magic-sparkles

2. 圖片

![Alt text](gallery/03.jpg "Image caption")
{{< figure
    src="https://pbs.twimg.com/media/GOTI0skbcAAkAVX.jpg"
    alt="Abstract purple artwork"
    caption="Photo by [Umi](https://x.com/sinonome_umi) on [Big Comic Superior](https://bigcomicbros.net/magazines/83422/)"
    >}}
{{< carousel images="{https://cdn.pixabay.com/photo/2016/12/11/12/02/mountains-1899264_960_720.jpg, gallery/03.jpg, gallery/01.jpg, gallery/02.jpg, gallery/04.jpg}" >}}

3. 數學

{{< katex >}}
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)

$$
\footnotesize
\begin{aligned}
&h_{\text{LOS}} &&= e^{(j2\pi\mathcal{N}(1,1))} \newline
&h_{\text{NLOS}} &&= \mathcal{CN}(0, \sigma^2) \newline
&h &&= h_{\text{LOS}}\sqrt{\dfrac{K}{K + 1}} + h_{\text{NLOS}}\sqrt{\frac{1}{K + 1}}
\end{aligned}
$$

\(f(a,b,c) = (a^2+b^2+c^2)^3\) $$ \footnotesize \begin{aligned} &h_{\text{LOS}} &&= e^{(j2\pi\mathcal{N}(1,1))} \newline &h_{\text{NLOS}} &&= \mathcal{CN}(0, \sigma^2) \newline &h &&= h_{\text{LOS}}\sqrt{\dfrac{K}{K + 1}} + h_{\text{NLOS}}\sqrt{\frac{1}{K + 1}} \end{aligned} $$

4. 外站載入

{{< mdimporter url="https://raw.githubusercontent.com/nunocoracao/nunocoracao/master/README.md" >}}
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
{{< github repo="nunocoracao/blowfish" >}}
{{< youtubeLite id="yzrb4WA2NRQ" label="Blowfish-tools demo" params="start=130&end=10&controls=0" >}}

5. 文字強調

# 內建
{{< keyword >}} keyword {{< /keyword >}}

{{< alert cardColor="#e63946" iconColor="#1d3557" textColor="#000000" >}}
**Alert!** text here
{{< /alert >}}

<kbd>ALT</kbd>+<kbd>F4</kbd>

keyword

Alert! text here

Text here

ALT + F4

# 新增
{{< expand "expand"  >}}
expand
{{< /expand >}}

{{< hint info >}}
**info/warning/danger**<br>
Text
{{< /hint >}}

expand
⚠️ info
Text
⚠️ warning
Text
⚠️ danger
Text

6. 部落格參考

大大的小蜗牛
拆解整合的旅人 by Ernest Chiang
Gea-Suan Lin’s BLOG 幹壞事是進步最大的原動力
CRE0809’s Blog
老苏的blog 聚沙成塔,集腋成裘
資工小廢物
Opsnull
咕咕 learn or earn
Sulv’s Blog
KID’s Blog
Hexo stellar theme

ZSL
作者
ZSL
正事不做。

相關文章

Hugo Blowfish 的進階客製化
-
Hugo Blowfish 的問題修復
-
Hugo Blowfish 的基礎設定
-