<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>xuesj&apos;blog - Xuan 主题</title><description>xuesj 的个人博客——把日子写在纸上：读过的书、走过的路、想过的事</description><link>https://blog.xuesj.top/</link><language>zh-cn</language><item><title>你好，宣</title><link>https://blog.xuesj.top/blog/hello-xuan/</link><guid isPermaLink="true">https://blog.xuesj.top/blog/hello-xuan/</guid><description>Xuan 主题的第一篇文章：这套主题是什么、怎么写文章、常用语法速览</description><pubDate>Tue, 06 Oct 2026 00:00:00 GMT</pubDate><content:encoded><p>「宣纸为底，墨字为文。」</p><p><a href="https://github.com/Motues/Momo">Xuan</a>这是主题的第一篇文章。Xuan 在 Momo 的极简骨架之上，换上了 Typora 宣纸主题的那身皮——纸底墨字、朱砂点眼、楷体作文、宋体作题。你现在看到的排版，就是它本来的样子。</p><p>用命令行最省事：</p><p><code>src/content/blog/</code>文章是下的 Markdown 文件，frontmatter 长这样：</p><p><code>pnpm dev</code><strong>加粗</strong><em>斜体</em>行内代码像这样：。走真字面（西文 EB Garamond SemiBold、中文霞鹜文楷 Medium），只对西文生效——中文没有斜体传统，主题禁掉了机器拉斜。</p><h2>写一篇新文章</h2><h2>常用语法速览</h2><pre><code class="language-bash">pnpm xuan new my-first-post</code></pre><pre><code class="language-yaml">---
title: 文章标题
pubDate: 2026-10-06
description: 摘要，会显示在文章卡片和 SEO 里
category: 随笔
image: &quot;./cover.jpg&quot;   # 可选，文章封面
draft: false           # true 则不会发布
slugId: xuan/my-post   # 全站唯一标识，评论系统也靠它关联
---</code></pre><blockquote><p><br>嵌套第二层转黛青，第三层转藤黄。</br><blockquote><p>必有回响。</p></blockquote>引用块是一道朱砂左标，底色向右淡出。</p><p><br><br>:::</br><p><br><br>:::</br><p>代码块由 Expressive Code 渲染，配的是主题自带的暖纸配色：</p><p>任务清单的勾选框也是自绘的：</p><pre><code class="language-js">export const siteConfig = {
    title: &quot;xuesj&amp;#39;blog&quot;,
    subTitle: &quot;Xuan 主题&quot;,
}</code></pre><table><thead><tr><th>元素</th><th>效果</th></tr></thead><tbody><tr><td>表格</td><td>纸色描边、藤黄表头</td></tr><tr><td><a href="https://astro.build">链接</a></td><td>黛青字、悬停转朱砂</td></tr><tr><td>==高亮==</td><td>藤黄底</td></tr><tr><td><del>删除线</del></td><td>墨色划过</td></tr></tbody></table><ul><li><input checked="" disabled="" type="checkbox">换上宣纸配色</input><li><input checked="" disabled="" type="checkbox">盖上「宣」字印章</input><li><input disabled="" type="checkbox">写第一篇真正的文章</input></li><h2>接下来</h2><p><code>src/config.ts</code>把里的站点地址和头像换成自己的，然后删掉这篇文章，开始写吧。</p><p>主题对脚注也做了悬浮预览——把鼠标停在这条引用上试试[^1]。</p><p>[^1]: 鼠标悬停在正文里的 [1] 上，注释会像这样浮出来，不用跳到页尾。</p></li></li></ul>important 的紫色取自中国色的「青莲」——李白号青莲居士。</br>:::important</p>提示块支持 note / tip / important / warning / caution 五种，各有各的颜色。</br>:::note</p></blockquote></content:encoded><category>随笔</category></item></channel></rss>