<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>freemind.bithack</title><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/atom.xml" rel="self"/><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/"/><updated>2026-11-17T10:00:00+00:00</updated><id>https://zzxzzk115.github.io/hugo-theme-freemind-bithack/</id><author><name>Your Name</name></author><generator uri="https://gohugo.io/">Hugo</generator><entry><title>Component showcase</title><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/11/17/components/"/><id>https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/11/17/components/</id><published>2026-11-17T10:00:00+00:00</published><updated>2026-11-17T10:00:00+00:00</updated><summary type="html">Everything the theme can render, on one page.</summary><content type="html">&lt;p&gt;Everything the theme can render, on one page.&lt;/p&gt;
&lt;h2 id="alerts"&gt;Alerts&lt;a class="headerlink" href="#alerts" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="alert alert-success md-alert"&gt;
&lt;p class="md-alert-title"&gt;&lt;i class="fa fa-lightbulb-o"&gt;&lt;/i&gt; Tip&lt;/p&gt;
&lt;p&gt;GitHub-style alerts become Bootstrap alerts.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-warning md-alert"&gt;
&lt;p class="md-alert-title"&gt;&lt;i class="fa fa-exclamation-triangle"&gt;&lt;/i&gt; Custom title&lt;/p&gt;
&lt;p&gt;Works with &lt;code&gt;NOTE&lt;/code&gt;, &lt;code&gt;TIP&lt;/code&gt;, &lt;code&gt;IMPORTANT&lt;/code&gt;, &lt;code&gt;WARNING&lt;/code&gt; and &lt;code&gt;CAUTION&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-info md-alert"&gt;&lt;p class="md-alert-title"&gt;Shortcode version&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;alert&lt;/code&gt; shortcode takes &lt;strong&gt;Markdown&lt;/strong&gt; and code:&lt;/p&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;hugo server&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 id="tabs"&gt;Tabs&lt;a class="headerlink" href="#tabs" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class="md-tabs" id="tabs-1"&gt;
&lt;ul class="nav nav-tabs" role="tablist"&gt;
&lt;li role="presentation" class="active"&gt;&lt;a href="#tabs-1-0" role="tab" data-toggle="tab"&gt;macOS&lt;/a&gt;&lt;/li&gt;
&lt;li role="presentation"&gt;&lt;a href="#tabs-1-1" role="tab" data-toggle="tab"&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="tab-content"&gt;
&lt;div role="tabpanel" class="tab-pane active" id="tabs-1-0"&gt;
&lt;pre class="language-bash"&gt;&lt;code class="language-bash"&gt;brew install hugo&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div role="tabpanel" class="tab-pane" id="tabs-1-1"&gt;
&lt;pre class="language-powershell"&gt;&lt;code class="language-powershell"&gt;winget install Hugo.Hugo.Extended&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="icons"&gt;Icons&lt;a class="headerlink" href="#icons" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;i class="fa fa-folder" aria-hidden="true"&gt;&lt;/i&gt; &lt;code&gt;content/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;i class="fa fa-github" aria-hidden="true"&gt;&lt;/i&gt; GitHub&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="math"&gt;Math&lt;a class="headerlink" href="#math" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Inline &lt;span class="katex"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;e^{i\pi} + 1 = 0&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;
, and a block:&lt;/p&gt;
&lt;div class="math-block"&gt;&lt;span class="katex"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;g&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;
f(n) = g(n) + h(n)
&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 id="mermaid"&gt;Mermaid&lt;a class="headerlink" href="#mermaid" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;pre class="mermaid"&gt;graph LR
Markdown --&amp;gt; Hugo --&amp;gt; HTML&lt;/pre&gt;
&lt;h2 id="code"&gt;Code&lt;a class="headerlink" href="#code" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre class="language-csharp"&gt;&lt;code class="language-csharp"&gt;public static T Add&amp;lt;T&amp;gt;(T a, T b) where T : INumber&amp;lt;T&amp;gt; =&amp;gt; a &amp;#43; b;&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="inline-extras"&gt;Inline extras&lt;a class="headerlink" href="#inline-extras" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;mark&gt;Marked&lt;/mark&gt;, &lt;ins&gt;inserted&lt;/ins&gt;, H&lt;sub&gt;2&lt;/sub&gt;O, x&lt;sup&gt;2&lt;/sup&gt;, a badge
&lt;span class="label label-success md-badge"&gt;New&lt;/span&gt;, an emoji &amp;#x1f680;, and a footnote.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2 id="chart"&gt;Chart&lt;a class="headerlink" href="#chart" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;div class="md-chart"&gt;&lt;canvas data-chart="{&amp;#34;data&amp;#34;:{&amp;#34;datasets&amp;#34;:[{&amp;#34;backgroundColor&amp;#34;:&amp;#34;#2bbc8a&amp;#34;,&amp;#34;data&amp;#34;:[21,16,17],&amp;#34;label&amp;#34;:&amp;#34;Posts&amp;#34;}],&amp;#34;labels&amp;#34;:[&amp;#34;2020&amp;#34;,&amp;#34;2021&amp;#34;,&amp;#34;2022&amp;#34;]},&amp;#34;type&amp;#34;:&amp;#34;bar&amp;#34;}" role="img" aria-label="chart"&gt;&lt;/canvas&gt;&lt;/div&gt;
&lt;h2 id="long-code-line-numbers-copy-button"&gt;Long code (line numbers, copy button)&lt;a class="headerlink" href="#long-code-line-numbers-copy-button" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre class="line-numbers language-plaintext"&gt;&lt;code class="language-plaintext"&gt;line 1
line 2
line 3
line 4
line 5
line 6
line 7
line 8
line 9
line 10
line 11
line 12
line 13
line 14
line 15
line 16
line 17
line 18
line 19
line 20
line 21
line 22
line 23
line 24
line 25
line 26
line 27
line 28
line 29
line 30
line 31
line 32&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="images"&gt;Images&lt;a class="headerlink" href="#images" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;A standalone image becomes a figure; the caption comes from its title or alt text. Click to open the lightbox.&lt;/p&gt;
&lt;figure class="md-figure"&gt;&lt;img src="/hugo-theme-freemind-bithack/images/heart.png" alt="A pixel heart" title="Standalone images get a caption" loading="lazy" decoding="async"&gt;&lt;figcaption&gt;Standalone images get a caption&lt;/figcaption&gt;&lt;/figure&gt;&lt;h2 id="friend-links"&gt;Friend links&lt;a class="headerlink" href="#friend-links" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;a class="friend-card" href="https://gohugo.io/" target="_blank" rel="noopener"&gt;
&lt;span class="friend-avatar"&gt;
&lt;svg class="friend-avatar-default" viewBox="0 0 16 16" shape-rendering="crispEdges" aria-hidden="true"&gt;
&lt;rect width="16" height="16" fill="#1d1d1d"/&gt;
&lt;g fill="#8a8a8a"&gt;&lt;rect x="6" y="3" width="4" height="1"/&gt;&lt;rect x="5" y="4" width="6" height="4"/&gt;&lt;rect x="6" y="8" width="4" height="1"/&gt;&lt;rect x="4" y="10" width="8" height="1"/&gt;&lt;rect x="3" y="11" width="10" height="5"/&gt;&lt;/g&gt;
&lt;/svg&gt;
&lt;/span&gt;
&lt;span class="friend-info"&gt;
&lt;span class="friend-name"&gt;Hugo&lt;/span&gt;&lt;span class="friend-desc" title="The world&amp;#39;s fastest framework for building websites"&gt;The world&amp;#39;s fastest framework for building websites&lt;/span&gt;
&lt;span class="friend-tags"&gt;&lt;span class="friend-tag"&gt;Go&lt;/span&gt;&lt;span class="friend-tag"&gt;SSG&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;a class="friend-card" href="https://prismjs.com/" target="_blank" rel="noopener"&gt;
&lt;span class="friend-avatar"&gt;
&lt;svg class="friend-avatar-default" viewBox="0 0 16 16" shape-rendering="crispEdges" aria-hidden="true"&gt;
&lt;rect width="16" height="16" fill="#1d1d1d"/&gt;
&lt;g fill="#8a8a8a"&gt;&lt;rect x="6" y="3" width="4" height="1"/&gt;&lt;rect x="5" y="4" width="6" height="4"/&gt;&lt;rect x="6" y="8" width="4" height="1"/&gt;&lt;rect x="4" y="10" width="8" height="1"/&gt;&lt;rect x="3" y="11" width="10" height="5"/&gt;&lt;/g&gt;
&lt;/svg&gt;
&lt;/span&gt;
&lt;span class="friend-info"&gt;
&lt;span class="friend-name"&gt;Prism&lt;/span&gt;&lt;span class="friend-desc" title="Lightweight syntax highlighting"&gt;Lightweight syntax highlighting&lt;/span&gt;
&lt;span class="friend-tags"&gt;&lt;span class="friend-tag"&gt;JavaScript&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;Consecutive cards form an equal-size, two-column grid; &lt;code&gt;tags&lt;/code&gt; is a comma-separated list.&lt;/p&gt;
&lt;h2 id="collapsible-block"&gt;Collapsible block&lt;a class="headerlink" href="#collapsible-block" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;details class="md-details"&gt;
&lt;summary&gt;Click to expand&lt;/summary&gt;
&lt;div class="md-details-body"&gt;&lt;p&gt;The inside is regular Markdown: &lt;strong&gt;bold&lt;/strong&gt;, &lt;code&gt;code&lt;/code&gt;, lists and other shortcodes all work.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;one&lt;/li&gt;
&lt;li&gt;two&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/details&gt;
&lt;h2 id="music-player"&gt;Music player&lt;a class="headerlink" href="#music-player" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Embed a NetEase Cloud Music song, album or playlist (artist pages can&amp;rsquo;t be embedded):&lt;/p&gt;
&lt;pre class="line-numbers language-plaintext"&gt;&lt;code class="language-plaintext"&gt;{{&amp;lt; netease 1234567890 &amp;gt;}}
{{&amp;lt; netease id=&amp;#34;1234567&amp;#34; type=&amp;#34;album&amp;#34; &amp;gt;}}&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="music-player-aplayer"&gt;Music player (APlayer)&lt;a class="headerlink" href="#music-player-aplayer" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;A playlist of NetEase Cloud Music songs, streamed from NetEase&amp;rsquo;s own outer link; titles and covers come from
&lt;code&gt;data/music.toml&lt;/code&gt;. The cover turns like a record while a song plays.&lt;/p&gt;
&lt;pre class="line-numbers language-plaintext"&gt;&lt;code class="language-plaintext"&gt;{{&amp;lt; music ids=&amp;#34;1402719608, 1431168150&amp;#34; &amp;gt;}}
{{&amp;lt; music src=&amp;#34;/audio/song.mp3&amp;#34; title=&amp;#34;Song&amp;#34; artist=&amp;#34;Me&amp;#34; cover=&amp;#34;/img/cover.jpg&amp;#34; &amp;gt;}}&lt;/code&gt;&lt;/pre&gt;
&lt;div class="md-music" data-audio="[{&amp;#34;artist&amp;#34;:&amp;#34;Lazy_V 张可宣&amp;#34;,&amp;#34;cover&amp;#34;:&amp;#34;https://p2.music.126.net/_lH3mTaZhMNJmiZ04uvHmw==/109951164705992734.jpg?param=300y300&amp;#34;,&amp;#34;lrc&amp;#34;:&amp;#34;&amp;#34;,&amp;#34;name&amp;#34;:&amp;#34;Fear Rhythm (Demo Version)&amp;#34;,&amp;#34;page&amp;#34;:&amp;#34;https://music.163.com/#/song?id=1402719608&amp;#34;,&amp;#34;url&amp;#34;:&amp;#34;https://music.163.com/song/media/outer/url?id=1402719608.mp3&amp;#34;},{&amp;#34;artist&amp;#34;:&amp;#34;Lazy_V 张可宣&amp;#34;,&amp;#34;cover&amp;#34;:&amp;#34;https://p2.music.126.net/7Fjhy0dSTTAPw3Tm2oR-rw==/109951164806372997.jpg?param=300y300&amp;#34;,&amp;#34;lrc&amp;#34;:&amp;#34;&amp;#34;,&amp;#34;name&amp;#34;:&amp;#34;ACLer&amp;#39;s beat&amp;#34;,&amp;#34;page&amp;#34;:&amp;#34;https://music.163.com/#/song?id=1431168150&amp;#34;,&amp;#34;url&amp;#34;:&amp;#34;https://music.163.com/song/media/outer/url?id=1431168150.mp3&amp;#34;},{&amp;#34;artist&amp;#34;:&amp;#34;Lazy_V 张可宣&amp;#34;,&amp;#34;cover&amp;#34;:&amp;#34;https://p2.music.126.net/_lH3mTaZhMNJmiZ04uvHmw==/109951164705992734.jpg?param=300y300&amp;#34;,&amp;#34;lrc&amp;#34;:&amp;#34;&amp;#34;,&amp;#34;name&amp;#34;:&amp;#34;ISOLATION&amp;#34;,&amp;#34;page&amp;#34;:&amp;#34;https://music.163.com/#/song?id=1402843948&amp;#34;,&amp;#34;url&amp;#34;:&amp;#34;https://music.163.com/song/media/outer/url?id=1402843948.mp3&amp;#34;},{&amp;#34;artist&amp;#34;:&amp;#34;Lazy_V 张可宣&amp;#34;,&amp;#34;cover&amp;#34;:&amp;#34;https://p2.music.126.net/qIsYKyaH2H0FSwnJNqT96w==/109951164746950689.jpg?param=300y300&amp;#34;,&amp;#34;lrc&amp;#34;:&amp;#34;&amp;#34;,&amp;#34;name&amp;#34;:&amp;#34;Involution&amp;#34;,&amp;#34;page&amp;#34;:&amp;#34;https://music.163.com/#/song?id=1847289377&amp;#34;,&amp;#34;url&amp;#34;:&amp;#34;https://music.163.com/song/media/outer/url?id=1847289377.mp3&amp;#34;}]" data-fold="false" data-order="list" data-loop="all"&gt;
&lt;noscript&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="https://music.163.com/#/song?id=1402719608" target="_blank" rel="noopener"&gt;Fear Rhythm (Demo Version) – Lazy_V 张可宣&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://music.163.com/#/song?id=1431168150" target="_blank" rel="noopener"&gt;ACLer&amp;#39;s beat – Lazy_V 张可宣&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://music.163.com/#/song?id=1402843948" target="_blank" rel="noopener"&gt;ISOLATION – Lazy_V 张可宣&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://music.163.com/#/song?id=1847289377" target="_blank" rel="noopener"&gt;Involution – Lazy_V 张可宣&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/noscript&gt;
&lt;/div&gt;
&lt;h2 id="itchio-game-card"&gt;itch.io game card&lt;a class="headerlink" href="#itchio-game-card" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Same size and layout as itch.io&amp;rsquo;s embed widget, drawn by the theme from &lt;code&gt;data/itch.toml&lt;/code&gt;, so the page makes no
requests to itch.io:&lt;/p&gt;
&lt;pre class="language-plaintext"&gt;&lt;code class="language-plaintext"&gt;{{&amp;lt; itch url=&amp;#34;https://lazy-v.itch.io/catmario-gb&amp;#34; &amp;gt;}}&lt;/code&gt;&lt;/pre&gt;
&lt;a class="itch-card" href="https://lazy-v.itch.io/catmario-gb" target="_blank" rel="noopener" aria-label="CatMario-GB – Play on itch.io"&gt;
&lt;span class="itch-cover pixel"&gt;&lt;img src="/hugo-theme-freemind-bithack/img/itch/lazy-v-catmario-gb.png" alt="" loading="lazy" class="nofancybox"&gt;&lt;/span&gt;
&lt;span class="itch-body"&gt;
&lt;span class="itch-title"&gt;CatMario-GB&lt;/span&gt;&lt;span class="itch-author"&gt;by Lazy_V&lt;/span&gt;&lt;span class="itch-desc"&gt;GB version of CatMario.&lt;/span&gt;
&lt;span class="itch-foot"&gt;
&lt;span class="itch-button"&gt;Play on itch.io&lt;/span&gt;
&lt;span class="itch-site" aria-hidden="true"&gt;&lt;svg viewBox="0 0 16 16" width="14" height="14" shape-rendering="crispEdges" fill="currentColor"&gt;&lt;rect x="1" y="3" width="14" height="2"/&gt;&lt;rect x="2" y="5" width="12" height="2"/&gt;&lt;rect x="2" y="7" width="12" height="7"/&gt;&lt;rect x="5" y="9" width="2" height="2" fill="#111"/&gt;&lt;rect x="9" y="9" width="2" height="2" fill="#111"/&gt;&lt;/svg&gt; itch.io&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;h2 id="link-card"&gt;Link card&lt;a class="headerlink" href="#link-card" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre class="language-plaintext"&gt;&lt;code class="language-plaintext"&gt;{{&amp;lt; linkcard url=&amp;#34;https://gohugo.io/&amp;#34; title=&amp;#34;Hugo&amp;#34; desc=&amp;#34;The world&amp;#39;s fastest framework for building websites.&amp;#34; &amp;gt;}}&lt;/code&gt;&lt;/pre&gt;
&lt;a class="linkcard no-image" href="https://gohugo.io/" target="_blank" rel="noopener"&gt;
&lt;span class="linkcard-text"&gt;
&lt;span class="linkcard-title"&gt;Hugo&lt;/span&gt;&lt;span class="linkcard-desc"&gt;The world&amp;#39;s fastest framework for building websites.&lt;/span&gt;
&lt;span class="linkcard-site"&gt;&lt;i class="fa fa-link"&gt;&lt;/i&gt; gohugo.io&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;h2 id="task-list"&gt;Task list&lt;a class="headerlink" href="#task-list" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Port the theme to Hugo&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Pixel fonts for code too&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Write more posts&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Footnotes work out of the box.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Docs" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/categories/Docs/"/><category term="Shortcodes" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Shortcodes/"/><category term="Markdown" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Markdown/"/></entry><entry><title>Pixel Art 2: Choosing a Palette</title><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/10/08/02-palette/"/><id>https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/10/08/02-palette/</id><published>2026-10-08T10:00:00+00:00</published><updated>2026-10-08T10:00:00+00:00</updated><summary type="html">Fewer colours, stronger shapes.</summary><content type="html">&lt;p&gt;Fewer colours, stronger shapes.&lt;/p&gt;
&lt;h2 id="limit-yourself"&gt;Limit yourself&lt;a class="headerlink" href="#limit-yourself" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Two or three colours per sprite are plenty. Here the same idea with a red palette:&lt;/p&gt;
&lt;div class="gallery"&gt;
&lt;div class="photoset"&gt;
&lt;img src="/hugo-theme-freemind-bithack/images/invader.png" alt="" class="nofancybox"&gt;
&lt;img src="/hugo-theme-freemind-bithack/images/heart.png" alt="" class="nofancybox"&gt;
&lt;/div&gt;
&lt;div class="control"&gt;
&lt;div class="prev"&gt;&lt;/div&gt;
&lt;div class="next"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Click the left or right half of the image to switch.&lt;/p&gt;
&lt;h2 id="compare-palettes"&gt;Compare palettes&lt;a class="headerlink" href="#compare-palettes" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Palette&lt;/th&gt;
&lt;th style="text-align: right"&gt;Colours&lt;/th&gt;
&lt;th&gt;Feels like&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Game Boy&lt;/td&gt;
&lt;td style="text-align: right"&gt;4&lt;/td&gt;
&lt;td&gt;Handheld&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PICO-8&lt;/td&gt;
&lt;td style="text-align: right"&gt;16&lt;/td&gt;
&lt;td&gt;Fantasy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NES&lt;/td&gt;
&lt;td style="text-align: right"&gt;54&lt;/td&gt;
&lt;td&gt;Console&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="alert alert-success md-alert"&gt;
&lt;p class="md-alert-title"&gt;&lt;i class="fa fa-lightbulb-o"&gt;&lt;/i&gt; Tip&lt;/p&gt;
&lt;p&gt;Pick the palette before you draw, not after.&lt;/p&gt;
&lt;/div&gt;</content><category term="Art" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/categories/Art/"/><category term="Pixel Art" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Pixel-Art/"/><category term="Tutorial" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Tutorial/"/><category term="Color" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Color/"/></entry><entry><title>Pixel Art 1: Setting Up the Canvas</title><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/10/01/01-canvas/"/><id>https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/10/01/01-canvas/</id><published>2026-10-01T10:00:00+00:00</published><updated>2026-10-01T10:00:00+00:00</updated><summary type="html">Start small: a 14×10 canvas is enough for a classic invader.</summary><content type="html">&lt;p&gt;Start small: a 14×10 canvas is enough for a classic invader.&lt;/p&gt;
&lt;h2 id="pick-a-size"&gt;Pick a size&lt;a class="headerlink" href="#pick-a-size" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Small canvases force you to decide what each pixel means. Draw the outline first, then fill.&lt;/p&gt;
&lt;figure class="md-figure"&gt;&lt;img src="/hugo-theme-freemind-bithack/images/invader.png" alt="A 14×10 invader, scaled up 16×" loading="lazy" decoding="async"&gt;&lt;figcaption&gt;A 14×10 invader, scaled up 16×&lt;/figcaption&gt;&lt;/figure&gt;&lt;h2 id="export-at-an-integer-scale"&gt;Export at an integer scale&lt;a class="headerlink" href="#export-at-an-integer-scale" aria-label="Permalink"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Always scale by whole numbers (2×, 4×, 16×) so pixels stay square:&lt;/p&gt;
&lt;pre class="line-numbers language-python"&gt;&lt;code class="language-python"&gt;from PIL import Image
img = Image.open(&amp;#34;invader.png&amp;#34;)
img.resize((img.width * 16, img.height * 16), Image.NEAREST).save(&amp;#34;invader@16x.png&amp;#34;)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Next: &lt;a href="/hugo-theme-freemind-bithack/2026/10/08/02-palette/"&gt;choosing a palette&lt;/a&gt;.&lt;/p&gt;</content><category term="Art" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/categories/Art/"/><category term="Pixel Art" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Pixel-Art/"/><category term="Tutorial" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Tutorial/"/></entry><entry><title>Hello, world</title><link href="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/01/01/hello/"/><id>https://zzxzzk115.github.io/hugo-theme-freemind-bithack/2026/01/01/hello/</id><published>2026-01-01T09:00:00+00:00</published><updated>2026-01-01T09:00:00+00:00</updated><summary type="html">A normal post with no summary marker: the home page shows the beginning of the post as an automatic summary.
Posts can also choose their own …</summary><content type="html">&lt;p&gt;A normal post with no summary marker: the home page shows the beginning of the post as an automatic summary.&lt;/p&gt;
&lt;p&gt;Posts can also choose their own summary with a &amp;ldquo;more&amp;rdquo; comment marker after the first paragraph or two (see the Component showcase source).&lt;/p&gt;</content><category term="Notes" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/categories/Notes/"/><category term="Hello" scheme="https://zzxzzk115.github.io/hugo-theme-freemind-bithack/tags/Hello/"/></entry></feed>