<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Demo - Pocket Hugo</title>
    <link>https://theme.leftn.com/categories/demo/</link>
    <description>Demo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 20 Apr 2026 02:51:39 &#43;0000</lastBuildDate>
    <atom:link href="https://theme.leftn.com/categories/demo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Markdown Rendering Showcase</title>
      <link>https://theme.leftn.com/article/markdown-demo/</link>
      <pubDate>Thu, 19 Mar 2026 01:15:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/markdown-demo/</guid>
      <description>A compact post for testing common Markdown elements in the English article layout.</description>
      <content:encoded><![CDATA[<p>This post is a compact Markdown rendering showcase for <code>pocket-hugo-theme</code>. It is meant to stress the article layout with the symbols and block styles people use most often.</p>
<h2 id="inline-formatting">Inline Formatting</h2>
<p>You can check <strong>bold text</strong>, <em>italic text</em>, <em><strong>combined emphasis</strong></em>, <code>inline code</code>, and a standard <a href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">link to Hugo</a>
.</p>
<p>You can also test superscript-like notation such as H<del>2</del>O, keyboard-style hints like <code>Ctrl + K</code>, and escaped characters such as <code>*literal asterisks*</code>.</p>
<h2 id="lists">Lists</h2>
<h3 id="unordered-list">Unordered List</h3>
<ul>
<li>Cover-first cards should still feel calm on mobile.</li>
<li>Metadata needs to stay readable at narrow widths.</li>
<li>Spacing matters as much as typography.</li>
</ul>
<h3 id="ordered-list">Ordered List</h3>
<ol>
<li>Draft the post.</li>
<li>Add a cover image.</li>
<li>Review the mobile reading rhythm.</li>
</ol>
<h3 id="task-list">Task List</h3>
<ul>
<li><input checked="" disabled="" type="checkbox"> Add front matter</li>
<li><input checked="" disabled="" type="checkbox"> Add a local cover image</li>
<li><input disabled="" type="checkbox"> Replace demo copy with production writing</li>
</ul>
<h2 id="quote">Quote</h2>
<blockquote>
<p>Good article themes disappear while you read.</p>
<p>Great ones also make browsing pleasant before you click.</p>
</blockquote>
<h2 id="code-blocks">Code Blocks</h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">&#34;pocket-hugo-theme&#34;</span>
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">&#34;en&#34;</span>
</span></span><span class="line"><span class="cl"><span class="nx">mainSections</span> <span class="p">=</span> <span class="p">[</span><span class="s2">&#34;posts&#34;</span><span class="p">]</span></span></span></code></pre></div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="kr">const</span> <span class="nx">article</span> <span class="o">=</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nx">title</span><span class="o">:</span> <span class="s2">&#34;Markdown Rendering Showcase&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="nx">cover</span><span class="o">:</span> <span class="s2">&#34;cover.webp&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="nx">mobileReady</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
</span></span><span class="line"><span class="cl"><span class="p">};</span></span></span></code></pre></div><h2 id="table">Table</h2>
<table>
  <thead>
      <tr>
          <th>Element</th>
          <th>Why it matters</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Headings</td>
          <td>Establish content rhythm</td>
      </tr>
      <tr>
          <td>Lists</td>
          <td>Reveal spacing and indentation</td>
      </tr>
      <tr>
          <td>Tables</td>
          <td>Stress overflow behavior on mobile</td>
      </tr>
      <tr>
          <td>Code blocks</td>
          <td>Show padding, font, and wrapping</td>
      </tr>
  </tbody>
</table>
<h2 id="image">Image</h2>
<p>The local bundle image should appear both as the cover and as an inline asset:</p>
<p><figure class="article-image">
    <a class="article-image__link" href="/article/markdown-demo/cover.webp" data-lightbox-image>
        <img
            src="/article/markdown-demo/cover_hu_e0096db56b3b63d9.webp"
            alt="Sample photo"
            loading="lazy"
            decoding="async"
            srcset="/article/markdown-demo/cover_hu_cc1c9dbfada38dfb.webp 640w, /article/markdown-demo/cover_hu_e0096db56b3b63d9.webp 960w"
            sizes="100vw"
            width="1080"
            height="467"
            
        >
    </a>
    
</figure>
</p>
<h2 id="horizontal-rule">Horizontal Rule</h2>
<hr>
<h2 id="final-notes">Final Notes</h2>
<p>If this article looks balanced on both desktop and phone, the theme is usually in a strong place for real essays, changelogs, notes, and documentation pages.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Title Card Guide</title>
      <link>https://theme.leftn.com/article/title-card-guide/</link>
      <pubDate>Mon, 09 Feb 2026 00:30:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/title-card-guide/</guid>
      <description>A practical guide for using fallback title cards in Pocket Hugo Theme, including front matter setup and all 16 presets.</description>
      <content:encoded><![CDATA[<p>Pocket Hugo Theme can turn a missing cover image into a generated <strong>title card</strong>.</p>
<h2 id="what-this-feature-is-for">What this feature is for</h2>
<p>Use a title card when you want the article to look complete in lists and single pages, but you do not want to prepare a real image file for every post.</p>
<p>That is especially useful for:</p>
<ul>
<li>notes and short essays</li>
<li>documentation pages</li>
<li>multilingual pages that should share a consistent visual rhythm</li>
<li>sections where text-first cards feel more natural than photo covers</li>
</ul>
<h2 id="quick-start">Quick start</h2>
<div class="shortcode-note shortcode-note--info"><div class="shortcode-note__title">Zero config works too</div><div class="shortcode-note__body">
    If you do nothing, the theme can still generate a fallback title card automatically when the site-level cover settings are enabled.
  </div>
</div>

<p>In front matter, the simplest form is just one letter:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">coverCard</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;a&#34;</span></span></span></code></pre></div><p>Rules:</p>
<ul>
<li><code>a</code> to <code>h</code>: the 8 light presets</li>
<li><code>A</code> to <code>H</code>: the 8 dark presets</li>
<li>any other value: falls back to an automatic random preset</li>
</ul>
<p>If you set <code>coverCard</code>, the theme will use the generated title card and stop using <code>image</code>.</p>
<h2 id="hide-the-repeated-list-title">Hide the repeated list title</h2>
<p>If you only want the title to appear inside the card on homepage, taxonomy, archive, and other list-style pages, add:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">listTitle</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div><p>That will hide the repeated title in list cards. On single pages, if the page is using a generated title card, it will also hide the separate title block there.</p>
<p>If you want to change this site-wide, use <code>params.article.listTitle = false</code> in <code>hugo.toml</code>. That site-level switch only affects generated gradient cards in list pages, not normal image covers.</p>
<h2 id="example-front-matter">Example front matter</h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">title</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;My Article&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">date</span><span class="p">:</span><span class="w"> </span><span class="ld">2026-02-09T08:30:00</span><span class="m">+08</span><span class="p">:</span><span class="m">00</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">slug</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;my-article&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">coverCard</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;C&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">listTitle</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div><h2 id="all-16-presets">All 16 presets</h2>
<p>The presets below follow the built-in order used by the theme.</p>


<div class="title-card-showcase">
    <div class="title-card-showcase__grid">
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="golden-summer-fields" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Golden Summer Fields</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>a</code> Golden Summer Fields</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="golden-summer-fields" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Golden Summer Fields Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>A</code> Golden Summer Fields Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="soft-pastel-shades" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Soft Pastel Shades</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>b</code> Soft Pastel Shades</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="soft-pastel-shades" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Soft Pastel Shades Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>B</code> Soft Pastel Shades Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="black-gold-elegance" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Black Gold Elegance</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>c</code> Black Gold Elegance</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="black-gold-elegance" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Black Gold Elegance Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>C</code> Black Gold Elegance Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="morandi-mist" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Morandi Mist</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>d</code> Morandi Mist</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="morandi-mist" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Morandi Mist Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>D</code> Morandi Mist Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="fresh-greens" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Fresh Greens</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>e</code> Fresh Greens</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="fresh-greens" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Fresh Greens Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>E</code> Fresh Greens Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="light-steel" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Light Steel</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>f</code> Light Steel</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="light-steel" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Light Steel Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>F</code> Light Steel Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="deep-sea-blue" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Deep Sea Blue</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>g</code> Deep Sea Blue</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="deep-sea-blue" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Deep Sea Blue Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>G</code> Deep Sea Blue Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="monochrome-core" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Monochrome Core</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>h</code> Monochrome Core</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="monochrome-core" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Monochrome Core Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>H</code> Monochrome Core Dark</figcaption>
            </figure>
        
    </div>
</div>

<h2 id="when-to-use-which-preset">When to use which preset</h2>
<ul>
<li><code>a</code> / <code>A</code>: warm and editorial, good for essays and personal writing</li>
<li><code>b</code> / <code>B</code>: softer and more friendly, useful for tutorials or documentation</li>
<li><code>c</code> / <code>C</code>: stronger contrast, good for product or release notes</li>
<li><code>d</code> / <code>D</code>: muted and calm, fits archive-like or reflective writing</li>
<li><code>e</code> / <code>E</code>: lively and fresh, useful for tools, workflow, and updates</li>
<li><code>f</code> / <code>F</code>: neutral and restrained, good for technical references</li>
<li><code>g</code> / <code>G</code>: clearer and more digital, useful for software and platform topics</li>
<li><code>h</code> / <code>H</code>: monochrome and minimal, good for terse notes or index pages</li>
</ul>
<h2 id="default-behavior">Default behavior</h2>
<p>If the page does not define <code>coverCard</code>, the theme falls back to the site-level cover rules in <code>hugo.toml</code>.</p>
<p>That means a user can also do nothing at all and still get a generated title card by default. When the theme fallback is set to gradient mode, the card preset is assigned automatically.</p>
<p>That means you can combine both strategies:</p>
<ul>
<li>use a global fallback mode for ordinary posts</li>
<li>set <code>coverCard</code> only on the pages where you want a specific preset</li>
</ul>
<h2 id="one-practical-recommendation">One practical recommendation</h2>
<p>Start with the automatic fallback for the site, then manually assign letters only to pages that you want to feel more deliberate. That keeps authoring fast while still giving important pages a distinct look.</p>]]></content:encoded>
    </item>
    <item>
      <title>Comments Demo</title>
      <link>https://theme.leftn.com/article/comments-demo/</link>
      <pubDate>Tue, 03 Feb 2026 01:00:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/comments-demo/</guid>
      <description>A sample post for checking the comments area.</description>
      <content:encoded><![CDATA[<p>This article demonstrates a default comment section.</p>
<h2 id="default-setting">Default Setting</h2>
<p>By default, Pocket Hugo theme enables comments on all pages. If you wish to disable comments on a specific page or post, please add <code>comments: false</code> to the frontmatter section of the corresponding Markdown file.</p>
<p>This theme uses Twikoo as its default comment system. To utilize Twikoo, you must deploy the necessary cloud functions in accordance with the official Twikoo documentation to ensure proper operation. Alternatively, you are free to configure your preferred comment solution, such as Utterances, Waline, Disqus, and others, according to your own preferences.</p>
<ul>
<li>
<p><a href="https://twikoo.js.org/en/intro.html" target="_blank" rel="noopener noreferrer">Twikoo Docs</a>
</p>
</li>
<li>
<p><a href="https://giscus.app/" target="_blank" rel="noopener noreferrer">Giscus Docs</a>
</p>
</li>
<li>
<p><a href="https://utteranc.es/" target="_blank" rel="noopener noreferrer">Utterances Docs</a>
</p>
</li>
<li>
<p><a href="https://waline.js.org/" target="_blank" rel="noopener noreferrer">Waline Docs</a>
</p>
</li>
<li>
<p><a href="https://disqus.com/" target="_blank" rel="noopener noreferrer">Disqus Docs</a>
</p>
</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Markdown Extensions Demo</title>
      <link>https://theme.leftn.com/article/markdown-extensions-demo/</link>
      <pubDate>Sun, 01 Feb 2026 01:00:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/markdown-extensions-demo/</guid>
      <description>A focused demo for the optional Syntax, Mermaid, and KaTeX extensions in Pocket Hugo Theme.</description>
      <content:encoded><![CDATA[<p>This post is a dedicated demo for the optional Markdown-related extensions in <code>pocket-hugo-theme</code>.</p>
<p>To see every block below rendered as intended, enable the related switches in <code>hugo.toml</code>:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">extensions</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">  <span class="nx">mermaid</span> <span class="p">=</span> <span class="kc">true</span>
</span></span><span class="line"><span class="cl">  <span class="nx">katex</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div><p>Syntax highlighting is included by default. For Mermaid and KaTeX, add a page-level list in the front matter of the article that actually needs them:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">extensions</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="l">mermaid</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="l">katex</span></span></span></code></pre></div><h2 id="syntax-highlighting">Syntax Highlighting</h2>
<p>Pocket Hugo includes a small syntax color layer by default, so normal highlighted code blocks do not need any extra page-level switch.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-go" data-lang="go"><span class="line"><span class="cl"><span class="kn">package</span><span class="w"> </span><span class="nx">main</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="kn">import</span><span class="w"> </span><span class="s">&#34;fmt&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="kd">func</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="p">{</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nx">theme</span><span class="w"> </span><span class="o">:=</span><span class="w"> </span><span class="s">&#34;pocket-hugo-theme&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nx">enabled</span><span class="w"> </span><span class="o">:=</span><span class="w"> </span><span class="p">[]</span><span class="kt">string</span><span class="p">{</span><span class="s">&#34;syntax&#34;</span><span class="p">,</span><span class="w"> </span><span class="s">&#34;mermaid&#34;</span><span class="p">,</span><span class="w"> </span><span class="s">&#34;katex&#34;</span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nx">fmt</span><span class="p">.</span><span class="nf">Println</span><span class="p">(</span><span class="nx">theme</span><span class="p">,</span><span class="w"> </span><span class="nx">enabled</span><span class="p">)</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">.</span><span class="nc">article-content</span> <span class="nt">pre</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="k">border-radius</span><span class="p">:</span> <span class="mi">18</span><span class="kt">px</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">  <span class="k">overflow-x</span><span class="p">:</span> <span class="kc">auto</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div><h2 id="mermaid">Mermaid</h2>
<p>When the <code>mermaid</code> extension is enabled, fenced code blocks with the <code>mermaid</code> language are converted into diagrams on the page.</p>
<div class="highlight">
    <pre tabindex="0" class="chroma"><code class="language-mermaid" data-lang="mermaid">flowchart LR
    A[Write Markdown] --> B[Enable extension]
    B --> C[Build site]
    C --> D[See rendered diagram]</code></pre>
</div><h2 id="katex">KaTeX</h2>
<p>When the <code>katex</code> extension is enabled, inline and block math can render directly inside the article.</p>
<p>Inline math: $E = mc^2$</p>
<p>Block math:</p>
<p>$$
\int_{0}^{1} x^2 , dx = \frac{1}{3}
$$</p>
<p>$$
f(x) = \frac{1}{\sqrt{2\pi\sigma^2}}
\exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)
$$</p>
<h2 id="mixed-content">Mixed Content</h2>
<p>The main goal of this post is to show that code, diagrams, and formulas can live together in one normal article layout without breaking the theme rhythm.</p>
<ol>
<li>Syntax highlighting improves token contrast.</li>
<li>Mermaid turns fenced blocks into SVG diagrams.</li>
<li>KaTeX renders math without changing your writing flow too much.</li>
</ol>
]]></content:encoded>
    </item>
  </channel>
</rss>
