<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Zhi Theme Demo</title><link>/posts/</link><description>Recent content in Posts on Zhi Theme Demo</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Mon, 06 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Hello World</title><link>/posts/hello-world/</link><pubDate>Mon, 06 Apr 2026 00:00:00 +0000</pubDate><guid>/posts/hello-world/</guid><description>&lt;p&gt;Welcome to the Zhi theme demo! This is a simple blog theme for Hugo.&lt;/p&gt;&#10;&lt;h2 id="features"&gt;Features&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Dark/light theme toggle&lt;/li&gt;&#10;&lt;li&gt;Code highlighting with copy button&lt;/li&gt;&#10;&lt;li&gt;MathJax support&lt;/li&gt;&#10;&lt;li&gt;Mermaid diagrams&lt;/li&gt;&#10;&lt;li&gt;Video embedding (Bilibili/YouTube)&lt;/li&gt;&#10;&lt;li&gt;Image lightbox&lt;/li&gt;&#10;&lt;li&gt;Responsive design&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="code-example"&gt;Code Example&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="python"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&lt;span class="code-language"&gt;python&lt;/span&gt;&lt;/div&gt;&#10; &#10; &lt;button class="copy-button" aria-label="Copy code"&gt;&#10; &lt;svg class="copy-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&#10; &lt;svg class="check-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;polyline points="20 6 9 17 4 12"/&gt;&lt;/svg&gt;&#10; &lt;/button&gt;&#10; &#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;hello&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Hello, &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;!&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hello&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;World&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="math"&gt;Math&lt;/h2&gt;&#10;&lt;p&gt;Inline math: $E = mc^2$&lt;/p&gt;</description></item><item><title>Code Highlighting Demo</title><link>/posts/code-highlight/</link><pubDate>Sun, 05 Apr 2026 00:00:00 +0000</pubDate><guid>/posts/code-highlight/</guid><description>&lt;h2 id="go"&gt;Go&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="go"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&lt;span class="code-language"&gt;go&lt;/span&gt;&lt;/div&gt;&#10; &#10; &lt;button class="copy-button" aria-label="Copy code"&gt;&#10; &lt;svg class="copy-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&#10; &lt;svg class="check-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;polyline points="20 6 9 17 4 12"/&gt;&lt;/svg&gt;&#10; &lt;/button&gt;&#10; &#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 2&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 3&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 4&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 5&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 6&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 7&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 8&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 9&#10;&lt;/span&gt;&lt;span class="lnt"&gt;10&#10;&lt;/span&gt;&lt;span class="lnt"&gt;11&#10;&lt;/span&gt;&lt;span class="lnt"&gt;12&#10;&lt;/span&gt;&lt;span class="lnt"&gt;13&#10;&lt;/span&gt;&lt;span class="lnt"&gt;14&#10;&lt;/span&gt;&lt;span class="lnt"&gt;15&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-go" data-lang="go"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;package&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;main&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;import&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;fmt&amp;#34;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;net/http&amp;#34;&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;func&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;ResponseWriter&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;fmt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;Fprintf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Hello, World!&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;func&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;HandleFunc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;/&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;Fatal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ListenAndServe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;:8080&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;nil&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="w"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="python"&gt;Python&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="python"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&lt;span class="code-language"&gt;python&lt;/span&gt;&lt;/div&gt;&#10; &#10; &lt;button class="copy-button" aria-label="Copy code"&gt;&#10; &lt;svg class="copy-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&#10; &lt;svg class="check-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;polyline points="20 6 9 17 4 12"/&gt;&lt;/svg&gt;&#10; &lt;/button&gt;&#10; &#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 2&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 3&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 4&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 5&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 6&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 7&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 8&#10;&lt;/span&gt;&lt;span class="lnt"&gt; 9&#10;&lt;/span&gt;&lt;span class="lnt"&gt;10&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fibonacci&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;&amp;#34;&amp;#34;Generate Fibonacci sequence&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fibonacci&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="javascript"&gt;JavaScript&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="javascript"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&lt;span class="code-language"&gt;javascript&lt;/span&gt;&lt;/div&gt;&#10; &#10; &lt;button class="copy-button" aria-label="Copy code"&gt;&#10; &lt;svg class="copy-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&#10; &lt;svg class="check-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;polyline points="20 6 9 17 4 12"/&gt;&lt;/svg&gt;&#10; &lt;/button&gt;&#10; &#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Video Embed Test</title><link>/posts/video-test/</link><pubDate>Sat, 01 Jun 2024 00:00:00 +0000</pubDate><guid>/posts/video-test/</guid><description>&lt;h2 id="bilibili-embed"&gt;Bilibili Embed&lt;/h2&gt;&#10;&lt;div class="video-container" &#10; data-bilibili="BV1GJ411x7h7"&#10; data-youtube=""&#10; data-title="Bilibili Only"&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="youtube-embed"&gt;YouTube Embed&lt;/h2&gt;&#10;&lt;div class="video-container" &#10; data-bilibili=""&#10; data-youtube="dQw4w9WgXcQ"&#10; data-title="YouTube Only"&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="dual-platform-geo-switching"&gt;Dual Platform (Geo-switching)&lt;/h2&gt;&#10;&lt;p&gt;When both Bilibili and YouTube IDs are provided, the player automatically selects the platform based on the viewer&amp;rsquo;s timezone:&lt;/p&gt;&#10;&lt;div class="video-container" &#10; data-bilibili="BV1GJ411x7h7"&#10; data-youtube="dQw4w9WgXcQ"&#10; data-title="Auto-switch Video"&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="multiple-videos-on-one-page"&gt;Multiple Videos on One Page&lt;/h2&gt;&#10;&lt;p&gt;First video:&lt;/p&gt;&#10;&lt;div class="video-container" &#10; data-bilibili="BV1xx411c7mD"&#10; data-youtube=""&#10; data-title="First Video"&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Second video:&lt;/p&gt;&#10;&lt;div class="video-container" &#10; data-bilibili=""&#10; data-youtube="jNQXAC9IVRw"&#10; data-title="Second Video"&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="video-with-surrounding-content"&gt;Video with Surrounding Content&lt;/h2&gt;&#10;&lt;p&gt;This paragraph appears before the video embed. The video player should integrate smoothly with surrounding text content without layout shifts.&lt;/p&gt;</description></item><item><title>Shortcodes Test</title><link>/posts/shortcodes-test/</link><pubDate>Wed, 01 May 2024 00:00:00 +0000</pubDate><guid>/posts/shortcodes-test/</guid><description>&lt;h2 id="note-shortcode"&gt;Note Shortcode&lt;/h2&gt;&#10;&lt;h3 id="info-note"&gt;Info Note&lt;/h3&gt;&#10;&lt;div class="note note--info"&gt;&#10; &lt;div class="note__header"&gt;&#10; &lt;svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;circle cx="12" cy="12" r="10"&gt;&lt;/circle&gt;&lt;line x1="12" y1="16" x2="12" y2="12"&gt;&lt;/line&gt;&lt;line x1="12" y1="8" x2="12.01" y2="8"&gt;&lt;/line&gt;&lt;/svg&gt;&#10; &lt;span class="note__title"&gt;Information&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="note__content"&gt;&#10;This is an informational note. Use it to highlight important context or background knowledge that readers should be aware of.&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h3 id="tip-note"&gt;Tip Note&lt;/h3&gt;&#10;&lt;div class="note note--tip"&gt;&#10; &lt;div class="note__header"&gt;&#10; &lt;svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;path d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"&gt;&lt;/path&gt;&lt;/svg&gt;&#10; &lt;span class="note__title"&gt;Pro Tip&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="note__content"&gt;&#10;This is a tip note. Use it to share helpful suggestions or shortcuts that improve the reader's workflow.&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h3 id="success-note"&gt;Success Note&lt;/h3&gt;&#10;&lt;div class="note note--success"&gt;&#10; &lt;div class="note__header"&gt;&#10; &lt;svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;path d="M22 11.08V12a10 10 0 11-5.93-9.14"&gt;&lt;/path&gt;&lt;polyline points="22 4 12 14.01 9 11.01"&gt;&lt;/polyline&gt;&lt;/svg&gt;&#10; &lt;span class="note__title"&gt;Success&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="note__content"&gt;&#10;This is a success note. Use it to confirm completed actions or positive outcomes.&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h3 id="warning-note"&gt;Warning Note&lt;/h3&gt;&#10;&lt;div class="note note--warning"&gt;&#10; &lt;div class="note__header"&gt;&#10; &lt;svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;path d="M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"&gt;&lt;/path&gt;&lt;line x1="12" y1="9" x2="12" y2="13"&gt;&lt;/line&gt;&lt;line x1="12" y1="17" x2="12.01" y2="17"&gt;&lt;/line&gt;&lt;/svg&gt;&#10; &lt;span class="note__title"&gt;Caution&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="note__content"&gt;&#10;This is a warning note. Use it to alert readers about potential pitfalls or things to watch out for.&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h3 id="danger-note"&gt;Danger Note&lt;/h3&gt;&#10;&lt;div class="note note--danger"&gt;&#10; &lt;div class="note__header"&gt;&#10; &lt;svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"&gt;&lt;circle cx="12" cy="12" r="10"&gt;&lt;/circle&gt;&lt;line x1="15" y1="9" x2="9" y2="15"&gt;&lt;/line&gt;&lt;line x1="9" y1="9" x2="15" y2="15"&gt;&lt;/line&gt;&lt;/svg&gt;&#10; &lt;span class="note__title"&gt;Stop&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;div class="note__content"&gt;&#10;This is a danger note. Use it to warn about critical issues that could cause data loss or system failure.&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&#10;&lt;h2 id="quote-shortcode"&gt;Quote Shortcode&lt;/h2&gt;&#10;&lt;blockquote class="quote-shortcode"&gt;&#10; &lt;div class="quote-shortcode__content"&gt;&#10;Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.&#10;&lt;/div&gt;&#10; &#10; &lt;footer class="quote-shortcode__footer"&gt;&#10; &lt;cite class="quote-shortcode__author"&gt;Albert Einstein&lt;/cite&gt;&#10; &lt;span class="quote-shortcode__source"&gt;On Science&lt;/span&gt;&#10; &lt;/footer&gt;&#10; &#10;&lt;/blockquote&gt;</description></item><item><title>Mermaid Diagrams</title><link>/posts/mermaid-test/</link><pubDate>Mon, 15 Apr 2024 00:00:00 +0000</pubDate><guid>/posts/mermaid-test/</guid><description>&lt;h2 id="flowchart"&gt;Flowchart&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="mermaid"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&#10; &lt;span class="code-language"&gt;mermaid&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&#10; &lt;pre class="chroma"&gt;&lt;code class="language-mermaid"&gt;graph TD&#10; A[Start] --&amp;gt; B{Decision}&#10; B --&amp;gt;|Yes| C[Process A]&#10; B --&amp;gt;|No| D[Process B]&#10; C --&amp;gt; E[Result]&#10; D --&amp;gt; E&#10; E --&amp;gt; F[End]&lt;/code&gt;&lt;/pre&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="sequence-diagram"&gt;Sequence Diagram&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="mermaid"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&#10; &lt;span class="code-language"&gt;mermaid&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&#10; &lt;pre class="chroma"&gt;&lt;code class="language-mermaid"&gt;sequenceDiagram&#10; participant Client&#10; participant Server&#10; participant Database&#10;&#10; Client-&amp;gt;&amp;gt;Server: HTTP Request&#10; Server-&amp;gt;&amp;gt;Database: SQL Query&#10; Database--&amp;gt;&amp;gt;Server: Result Set&#10; Server--&amp;gt;&amp;gt;Client: JSON Response&#10;&#10; Note over Client,Database: Full request-response cycle&lt;/code&gt;&lt;/pre&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;h2 id="class-diagram"&gt;Class Diagram&lt;/h2&gt;&#10;&lt;div class="code-block-wrapper" data-lang="mermaid"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;div class="code-block-meta"&gt;&#10; &lt;span class="code-language"&gt;mermaid&lt;/span&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class="code-block-body"&gt;&#10; &lt;pre class="chroma"&gt;&lt;code class="language-mermaid"&gt;classDiagram&#10; class Animal {&#10; &amp;#43;String name&#10; &amp;#43;int age&#10; &amp;#43;makeSound() void&#10; }&#10; class Dog {&lt;/code&gt;&lt;/pre&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Math Test</title><link>/posts/math-test/</link><pubDate>Mon, 01 Apr 2024 00:00:00 +0000</pubDate><guid>/posts/math-test/</guid><description>&lt;h2 id="inline-math"&gt;Inline Math&lt;/h2&gt;&#10;&lt;p&gt;The famous mass-energy equivalence: $E = mc^2$. The quadratic formula: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.&lt;/p&gt;&#10;&lt;p&gt;Euler&amp;rsquo;s identity is often considered the most beautiful equation in mathematics: $e^{i\pi} + 1 = 0$.&lt;/p&gt;&#10;&lt;p&gt;The normal distribution probability density function: $f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}$.&lt;/p&gt;&#10;&lt;h2 id="display-math"&gt;Display Math&lt;/h2&gt;&#10;&lt;p&gt;The Gaussian integral:&lt;/p&gt;&#10;&lt;p&gt;$$&#10;\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}&#10;$$&lt;/p&gt;&#10;&lt;p&gt;Maxwell&amp;rsquo;s equations in differential form:&lt;/p&gt;&#10;&lt;p&gt;$$&#10;\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}&#10;$$&lt;/p&gt;&#10;&lt;p&gt;$$&#10;\nabla \cdot \mathbf{B} = 0&#10;$$&lt;/p&gt;</description></item><item><title>Typography Test</title><link>/posts/typography/</link><pubDate>Sun, 10 Mar 2024 00:00:00 +0000</pubDate><guid>/posts/typography/</guid><description>&lt;h2 id="headings"&gt;Headings&lt;/h2&gt;&#10;&lt;h3 id="h3-heading"&gt;H3 Heading&lt;/h3&gt;&#10;&lt;p&gt;This section tests third-level headings and their visual appearance in the TOC.&lt;/p&gt;&#10;&lt;h4 id="h4-heading"&gt;H4 Heading&lt;/h4&gt;&#10;&lt;p&gt;Fourth-level headings provide additional document structure. The TOC should respect &lt;code&gt;maxDepth&lt;/code&gt; configuration.&lt;/p&gt;&#10;&lt;h2 id="paragraphs"&gt;Paragraphs&lt;/h2&gt;&#10;&lt;p&gt;This is a standard paragraph with &lt;strong&gt;bold text&lt;/strong&gt;, &lt;em&gt;italic text&lt;/em&gt;, &lt;code&gt;inline code&lt;/code&gt;, and a &lt;a href="https://example.com"&gt;hyperlink&lt;/a&gt;. These are the most common inline formatting elements used in technical writing.&lt;/p&gt;&#10;&lt;p&gt;A second paragraph to verify spacing. Hugo normalizes Markdown content using Goldmark, which follows the CommonMark specification. Paragraphs separated by blank lines receive proper &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;</description></item></channel></rss>