<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>排版 on Spectra Demo</title><link>https://joeyang1412.github.io/hugo-theme-spectra/zh-tw/tags/%E6%8E%92%E7%89%88/</link><description>Recent content in 排版 on Spectra Demo</description><generator>Hugo</generator><language>zh-tw</language><lastBuildDate>Sat, 15 Mar 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://joeyang1412.github.io/hugo-theme-spectra/zh-tw/tags/%E6%8E%92%E7%89%88/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown 排版全展示</title><link>https://joeyang1412.github.io/hugo-theme-spectra/zh-tw/posts/feature-tour/markdown-typography/</link><pubDate>Sat, 15 Mar 2025 00:00:00 +0000</pubDate><guid>https://joeyang1412.github.io/hugo-theme-spectra/zh-tw/posts/feature-tour/markdown-typography/</guid><description>&lt;h2 id="標題層級"&gt;標題層級&lt;/h2&gt;
&lt;p&gt;這篇文章用了 &lt;code&gt;h2&lt;/code&gt;、&lt;code&gt;h3&lt;/code&gt;、&lt;code&gt;h4&lt;/code&gt; 三層標題。右邊的目錄（桌面版）或上方的摺疊目錄（手機版）會自動抓這些標題。&lt;/p&gt;
&lt;h3 id="這是-h3"&gt;這是 H3&lt;/h3&gt;
&lt;h4 id="這是-h4"&gt;這是 H4&lt;/h4&gt;
&lt;p&gt;一般來說三層就夠了。層級太多反而讓結構變複雜。&lt;/p&gt;
&lt;h2 id="文字格式"&gt;文字格式&lt;/h2&gt;
&lt;p&gt;基本的文字樣式：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;粗體&lt;/strong&gt; — 用 &lt;code&gt;**文字**&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;斜體&lt;/em&gt; — 用 &lt;code&gt;*文字*&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;del&gt;刪除線&lt;/del&gt; — 用 &lt;code&gt;~~文字~~&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;行內程式碼&lt;/code&gt; — 用反引號包起來&lt;/li&gt;
&lt;li&gt;&lt;a href="https://example.com"&gt;超連結&lt;/a&gt; — 用 &lt;code&gt;[文字](網址)&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;這些可以混著用，像是 &lt;strong&gt;粗體裡面放 &lt;code&gt;程式碼&lt;/code&gt;&lt;/strong&gt; 或是 &lt;em&gt;斜體加上&lt;a href="https://example.com"&gt;連結&lt;/a&gt;&lt;/em&gt;。&lt;/p&gt;
&lt;h2 id="清單"&gt;清單&lt;/h2&gt;
&lt;h3 id="無序清單"&gt;無序清單&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;第一項&lt;/li&gt;
&lt;li&gt;第二項
&lt;ul&gt;
&lt;li&gt;巢狀項目 A&lt;/li&gt;
&lt;li&gt;巢狀項目 B
&lt;ul&gt;
&lt;li&gt;再往下一層也行&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;第三項&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="有序清單"&gt;有序清單&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;打開編輯器&lt;/li&gt;
&lt;li&gt;新增一個 Markdown 檔案&lt;/li&gt;
&lt;li&gt;開始寫&lt;/li&gt;
&lt;li&gt;存檔&lt;/li&gt;
&lt;li&gt;部署&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="任務清單"&gt;任務清單&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 選好主題&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 設定基本架構&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; 寫第一篇文章&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; 部署到線上&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="引言"&gt;引言&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;簡潔是可靠的前提條件。
— Edsger W. Dijkstra&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;引言區塊在 Spectra 裡會有左邊的裝飾線和微妙的背景色。多行也沒問題：&lt;/p&gt;</description></item></channel></rss>