<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>CitrusGrid</title><description>这是一个基于 Astro 架构和 CitrusGrid主题 的轻量级静态博客。</description><link>https://citrusgrid.pages.dev/</link><language>zh</language><item><title>更新1.0.1</title><link>https://citrusgrid.pages.dev/posts/geng-xin-1-0-1/</link><guid isPermaLink="true">https://citrusgrid.pages.dev/posts/geng-xin-1-0-1/</guid><description>修复 visitor-stats 插件一次大量读取导致统计服务429报错问题以及统一路由尾斜杠格式。</description><pubDate>Thu, 03 Sep 2026 19:54:11 GMT</pubDate><content:encoded>&lt;h2 id=&quot;101-更新&quot;&gt;1.0.1 更新&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#101-更新&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id=&quot;修复-visitor-stats-插件一次大量读取导致统计服务429报错问题&quot;&gt;修复 visitor-stats 插件一次大量读取导致统计服务429报错问题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#修复-visitor-stats-插件一次大量读取导致统计服务429报错问题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;1、修复 visitor-stats 插件的同时对项目 &lt;a href=&quot;https://github.com/rightdoor/visitor-stats&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;visitor-stats&lt;/a&gt; 进行了一次更新，使用 &lt;code&gt;/total&lt;/code&gt; 来一次获取全部数据，使用 localStorage 来缓存数据。&lt;/p&gt;
&lt;p&gt;流程：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;访问 &lt;code&gt;/total&lt;/code&gt; 接口，获取全部数据&lt;/li&gt;
&lt;li&gt;缓存数据到 localStorage 中&lt;/li&gt;
&lt;li&gt;从 localStorage 中读取数据，避免重复请求（TTL 为 5 分钟，过期后重新请求）。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;2、修复了其他一些小问题，如路由缓存策略、URL 规范等。&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;统一路由尾斜杠格式前端路由的缓存策略与托管平台cloudflare-pages的-url-规范严格对齐&quot;&gt;统一路由尾斜杠格式，前端路由的缓存策略与托管平台（Cloudflare Pages）的 URL 规范严格对齐&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#统一路由尾斜杠格式前端路由的缓存策略与托管平台cloudflare-pages的-url-规范严格对齐&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;在进行页面切换时发现了多次重复请求预取的问题，导致页面流量异常，经排查为预取请求与 Canonical URL 不一致造成的，现在已修复。&lt;/p&gt;</content:encoded><category>版本更新</category><category>更新说明</category></item><item><title>MarkDown元数据说明</title><link>https://citrusgrid.pages.dev/posts/markdown-meta-data/</link><guid isPermaLink="true">https://citrusgrid.pages.dev/posts/markdown-meta-data/</guid><description>展示 Markdown 元数据的使用方法</description><pubDate>Thu, 03 Sep 2026 00:06:34 GMT</pubDate><content:encoded>&lt;h2 id=&quot;文章-frontmatter&quot;&gt;文章 Frontmatter&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#文章-frontmatter&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
































































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;字段&lt;/th&gt;&lt;th&gt;是否必填&lt;/th&gt;&lt;th&gt;示例&lt;/th&gt;&lt;th&gt;描述&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;title&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;&quot;example&quot;&lt;/td&gt;&lt;td&gt;文章标题&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;slug&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;example&lt;/td&gt;&lt;td&gt;运行时自动生成，可手动填写，使用&lt;code&gt;-&lt;/code&gt;分隔单词&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;index&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;td&gt;默认为0不置顶，大于0的整数置顶，数值越大越靠前&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;description&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;&quot;展示 Markdown 语法的各种类型和示例&quot;&lt;/td&gt;&lt;td&gt;文章描述&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;category&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;&quot;示例&quot;&lt;/td&gt;&lt;td&gt;文章分类&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;tags&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;[Markdown]&lt;/td&gt;&lt;td&gt;文章标签，多个标签用逗号隔开&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;published&lt;/code&gt;&lt;/td&gt;&lt;td&gt;是&lt;/td&gt;&lt;td&gt;2026-01-01 00:01:02&lt;/td&gt;&lt;td&gt;文章发布时间，格式为&lt;code&gt;YYYY-MM-DD HH:mm:ss&lt;/code&gt;，脚本生成自带&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;updated&lt;/code&gt;&lt;/td&gt;&lt;td&gt;否&lt;/td&gt;&lt;td&gt;2026-01-01 00:01:03&lt;/td&gt;&lt;td&gt;文章更新时间，格式为&lt;code&gt;YYYY-MM-DD HH:mm:ss&lt;/code&gt;，不自动生成&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;draft&lt;/code&gt;&lt;/td&gt;&lt;td&gt;否&lt;/td&gt;&lt;td&gt;false&lt;/td&gt;&lt;td&gt;是否草稿，不自动生成&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;请根据以上表格，填写文章的 Frontmatter。&lt;/p&gt;
&lt;/blockquote&gt;</content:encoded><category>示例</category><category>Markdown</category></item><item><title>Markdown语法样例</title><link>https://citrusgrid.pages.dev/posts/markdown-yu-fa-yang-li/</link><guid isPermaLink="true">https://citrusgrid.pages.dev/posts/markdown-yu-fa-yang-li/</guid><description>展示 Markdown 语法的各种类型和示例</description><pubDate>Tue, 03 Jun 2025 00:44:37 GMT</pubDate><content:encoded>&lt;h2 id=&quot;1-标题&quot;&gt;1. 标题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#1-标题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;#&lt;/span&gt; 一级标题&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;##&lt;/span&gt; 二级标题&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;###&lt;/span&gt; 三级标题&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;####&lt;/span&gt; 四级标题&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;#####&lt;/span&gt; 五级标题&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;######&lt;/span&gt; 六级标题&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;h3 id=&quot;三级标题&quot;&gt;三级标题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#三级标题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h4 id=&quot;四级标题&quot;&gt;四级标题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#四级标题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;h5 id=&quot;五级标题&quot;&gt;五级标题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#五级标题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h5&gt;
&lt;h6 id=&quot;六级标题&quot;&gt;六级标题&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#六级标题&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h6&gt;
&lt;blockquote&gt;
&lt;p&gt;悬停标题会显示 &lt;code&gt;#&lt;/code&gt; 锚点，点击可跳转到该标题。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;2-段落与换行&quot;&gt;2. 段落与换行&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#2-段落与换行&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;这是第一段。  
这是第二段（行尾加两个空格实现换行）。

这是新段落（空一行分隔）。
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;这是第一段。&lt;br&gt;
这是第二段（行尾加两个空格实现换行）。&lt;/p&gt;
&lt;p&gt;这是新段落（空一行分隔）。&lt;/p&gt;
&lt;h2 id=&quot;3-文字强调&quot;&gt;3. 文字强调&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#3-文字强调&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token italic&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;斜体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;*&lt;/span&gt;&lt;/span&gt; 或 &lt;span class=&quot;token italic&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;斜体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;_&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token bold&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;粗体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;**&lt;/span&gt;&lt;/span&gt; 或 &lt;span class=&quot;token bold&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;__&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;粗体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;__&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token bold&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;&lt;span class=&quot;token italic&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;粗斜体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;**&lt;/span&gt;&lt;/span&gt; 或 &lt;span class=&quot;token bold&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;__&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;&lt;span class=&quot;token italic&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;粗斜体&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;__&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token strike&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;~~&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;删除线&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;~~&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token strike&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;token content&quot;&gt;单波浪删除线&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;~&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;em&gt;斜体&lt;/em&gt; 或 &lt;em&gt;斜体&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;粗体&lt;/strong&gt; 或 &lt;strong&gt;粗体&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;粗斜体&lt;/strong&gt;&lt;/em&gt; 或 &lt;em&gt;&lt;strong&gt;粗斜体&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;del&gt;删除线&lt;/del&gt;&lt;br&gt;
&lt;del&gt;单波浪删除线&lt;/del&gt;&lt;/p&gt;
&lt;h2 id=&quot;4-列表&quot;&gt;4. 列表&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#4-列表&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id=&quot;无序列表&quot;&gt;无序列表&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#无序列表&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token list punctuation&quot;&gt;-&lt;/span&gt; 项目1
&lt;span class=&quot;token list punctuation&quot;&gt;-&lt;/span&gt; 项目2
  &lt;span class=&quot;token list punctuation&quot;&gt;-&lt;/span&gt; 嵌套项目（缩进2或4个空格）
&lt;span class=&quot;token list punctuation&quot;&gt;*&lt;/span&gt; 也可以用星号
&lt;span class=&quot;token list punctuation&quot;&gt;+&lt;/span&gt; 或者加号
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;项目1&lt;/li&gt;
&lt;li&gt;项目2
&lt;ul&gt;
&lt;li&gt;嵌套项目（缩进2或4个空格）&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;也可以用星号&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;或者加号&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;有序列表&quot;&gt;有序列表&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#有序列表&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token list punctuation&quot;&gt;1.&lt;/span&gt; 第一项
&lt;span class=&quot;token list punctuation&quot;&gt;2.&lt;/span&gt; 第二项
   &lt;span class=&quot;token list punctuation&quot;&gt;1.&lt;/span&gt; 嵌套有序项（缩进）
&lt;span class=&quot;token list punctuation&quot;&gt;3.&lt;/span&gt; 第三项
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;第一项&lt;/li&gt;
&lt;li&gt;第二项
&lt;ol&gt;
&lt;li&gt;嵌套有序项（缩进）&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;第三项&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&quot;任务列表&quot;&gt;任务列表&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#任务列表&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token list punctuation&quot;&gt;-&lt;/span&gt; [x] 已完成任务
&lt;span class=&quot;token list punctuation&quot;&gt;-&lt;/span&gt; [ ] 未完成任务
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;ul class=&quot;contains-task-list&quot;&gt;
&lt;li class=&quot;task-list-item&quot;&gt;&lt;input type=&quot;checkbox&quot; checked disabled&gt; 已完成任务&lt;/li&gt;
&lt;li class=&quot;task-list-item&quot;&gt;&lt;input type=&quot;checkbox&quot; disabled&gt; 未完成任务&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;5-链接&quot;&gt;5. 链接&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#5-链接&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token url&quot;&gt;[&lt;span class=&quot;token content&quot;&gt;行内链接&lt;/span&gt;](&lt;span class=&quot;token url&quot;&gt;https://example.com&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot;可选标题&quot;&lt;/span&gt;)&lt;/span&gt;
&lt;span class=&quot;token url&quot;&gt;[&lt;span class=&quot;token content&quot;&gt;引用式链接&lt;/span&gt;][&lt;span class=&quot;token variable&quot;&gt;引用&lt;/span&gt;]&lt;/span&gt;
文章末尾添加：&lt;span class=&quot;token url-reference url&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token variable&quot;&gt;引用&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt; https://example.com &lt;span class=&quot;token string&quot;&gt;&quot;标题&quot;&lt;/span&gt;&lt;/span&gt; 
[空链接]&amp;#x3C;&gt; 或 &amp;#x3C;https://example.com&gt;（自动链接）
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://example.com&quot; title=&quot;可选标题&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;行内链接&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://example.com&quot; title=&quot;标题&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;引用式链接&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://example.com&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;https://example.com&lt;/a&gt;（自动链接）&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;外部链接自动在新窗口打开。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;6-图片&quot;&gt;6. 图片&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#6-图片&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token url&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;!&lt;/span&gt;[&lt;span class=&quot;token content&quot;&gt;替代文字&lt;/span&gt;](&lt;span class=&quot;token url&quot;&gt;https://xxxxx&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot;可选标题&quot;&lt;/span&gt;)&lt;/span&gt;
&lt;span class=&quot;token url&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;!&lt;/span&gt;[&lt;span class=&quot;token content&quot;&gt;引用式图片&lt;/span&gt;][&lt;span class=&quot;token variable&quot;&gt;img&lt;/span&gt;]&lt;/span&gt;
&lt;span class=&quot;token url-reference url&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token variable&quot;&gt;img&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt; https://xxxxx &lt;span class=&quot;token string&quot;&gt;&quot;标题&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token title important&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;#&lt;/span&gt; 或者本地图片&lt;/span&gt;
&lt;span class=&quot;token url&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;!&lt;/span&gt;[&lt;span class=&quot;token content&quot;&gt;本地图片&lt;/span&gt;](&lt;span class=&quot;token url&quot;&gt;../images/logo.webp&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&quot;本地图片&quot;&lt;/span&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;img-frame&quot; style=&quot;--img-lqip:linear-gradient(135deg, #632d1b 0%, #6a301b 50%, #582816 100%)&quot;&gt;&lt;a class=&quot;img-lightbox&quot; href=&quot;https://citrusgrid.pages.dev/content-images/883d9fc6f4cc516e.webp&quot; title=&quot;可选标题&quot;&gt;&lt;img src=&quot;https://citrusgrid.pages.dev/content-images/883d9fc6f4cc516e.webp&quot; alt=&quot;替代文字&quot; title=&quot;可选标题&quot; loading=&quot;eager&quot; fetchpriority=&quot;high&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;点击图片可打开灯箱放大预览。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;7-引用块&quot;&gt;7. 引用块&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#7-引用块&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token blockquote punctuation&quot;&gt;&gt;&lt;/span&gt; 这是一段引用。
&lt;span class=&quot;token blockquote punctuation&quot;&gt;&gt;&lt;/span&gt; 可以跨多行。
&lt;span class=&quot;token blockquote punctuation&quot;&gt;&gt;&gt;&lt;/span&gt; 嵌套引用。
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;这是一段引用。&lt;br&gt;
可以跨多行。&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;嵌套引用。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;8-代码&quot;&gt;8. 代码&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#8-代码&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id=&quot;行内代码&quot;&gt;行内代码&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#行内代码&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;使用 &lt;span class=&quot;token code-snippet code keyword&quot;&gt;`print()`&lt;/span&gt; 函数输出。
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：使用 &lt;code&gt;print()&lt;/code&gt; 函数输出。&lt;/p&gt;
&lt;h3 id=&quot;代码块&quot;&gt;代码块&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#代码块&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;9&lt;/span&gt;&lt;span&gt;10&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token code&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;
&lt;span class=&quot;token code-block&quot;&gt;普通代码块&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token code&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;&lt;span class=&quot;token code-language&quot;&gt;python&lt;/span&gt;
&lt;span class=&quot;token code-block language-python&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# 语法高亮&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;Hello, World!&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;&lt;/span&gt;
缩进4个空格或一个制表符：
    def foo():
        return &quot;bar&quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;text&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-text&quot;&gt;普通代码块
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19.14,7.5A2.86,2.86 0 0,1 22,10.36V14.14A2.86,2.86 0 0,1 19.14,17H12C12,17.39 12.32,17.96 12.71,17.96H17V19.64A2.86,2.86 0 0,1 14.14,22.5H9.86A2.86,2.86 0 0,1 7,19.64V15.89C7,14.31 8.28,13.04 9.86,13.04H15.11C16.69,13.04 17.96,11.76 17.96,10.18V7.5H19.14M14.86,19.29C14.46,19.29 14.14,19.59 14.14,20.18C14.14,20.77 14.46,20.89 14.86,20.89A0.71,0.71 0 0,0 15.57,20.18C15.57,19.59 15.25,19.29 14.86,19.29M4.86,17.5C3.28,17.5 2,16.22 2,14.64V10.86C2,9.28 3.28,8 4.86,8H12C12,7.61 11.68,7.04 11.29,7.04H7V5.36C7,3.78 8.28,2.5 9.86,2.5H14.14C15.72,2.5 17,3.78 17,5.36V9.11C17,10.69 15.72,11.96 14.14,11.96H8.89C7.31,11.96 6.04,13.24 6.04,14.82V17.5H4.86M9.14,5.71C9.54,5.71 9.86,5.41 9.86,4.82C9.86,4.23 9.54,4.11 9.14,4.11C8.75,4.11 8.43,4.23 8.43,4.82C8.43,5.41 8.75,5.71 9.14,5.71Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;python&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# 语法高亮&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;Hello, World!&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 id=&quot;diff-高亮&quot;&gt;diff 高亮&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#diff-高亮&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token code&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;&lt;span class=&quot;token code-language&quot;&gt;diff&lt;/span&gt;
&lt;span class=&quot;token code-block language-diff&quot;&gt;&lt;span class=&quot;token inserted-sign inserted&quot;&gt;&lt;span class=&quot;token prefix inserted&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;token line&quot;&gt; 新增的行
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token deleted-sign deleted&quot;&gt;&lt;span class=&quot;token prefix deleted&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;token line&quot;&gt; 删除的行&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;```&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M10,18H6V16H10V18M10,14H6V12H10V14M10,1V2H6C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H10V23H12V1H10M20,8V20C20,21.11 19.11,22 18,22H14V20H18V11H14V9H18.5L14,4.5V2L20,8M16,14H14V12H16V14M16,18H14V16H16V18Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;diff&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-diff&quot;&gt;&lt;span class=&quot;token inserted-sign inserted&quot;&gt;&lt;span class=&quot;token prefix inserted&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;token line&quot;&gt; 新增的行
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token deleted-sign deleted&quot;&gt;&lt;span class=&quot;token prefix deleted&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;token line&quot;&gt; 删除的行
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;注意：代码块自带行号、复制按钮与语言标识；支持 python / bash / go / rust / sql / diff 等常用语言，未知语言按纯文本渲染。请勿使用缩进4个空格或一个制表符来创建代码块，因为不会显示。&lt;/p&gt;
&lt;h2 id=&quot;9-水平线&quot;&gt;9. 水平线&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#9-水平线&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;--- 或 *** 或 ___
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;code&gt;---&lt;/code&gt;：&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;code&gt;***&lt;/code&gt;：&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;code&gt;___&lt;/code&gt;：&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;10-表格&quot;&gt;10. 表格&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#10-表格&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token table&quot;&gt;&lt;span class=&quot;token table-header-row&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-header important&quot;&gt; 左对齐------ &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-header important&quot;&gt; ------居中------ &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-header important&quot;&gt; ------右对齐 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;token table-line&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:-------&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:----:&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;-------:&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;token table-data-rows&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;token table-data&quot;&gt; 单元格 &lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;|&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;



















&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th align=&quot;left&quot;&gt;左对齐------&lt;/th&gt;&lt;th align=&quot;center&quot;&gt;------居中------&lt;/th&gt;&lt;th align=&quot;right&quot;&gt;------右对齐&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align=&quot;left&quot;&gt;单元格&lt;/td&gt;&lt;td align=&quot;center&quot;&gt;单元格&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;单元格&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=&quot;left&quot;&gt;单元格&lt;/td&gt;&lt;td align=&quot;center&quot;&gt;单元格&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;单元格&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;h2 id=&quot;11-脚注&quot;&gt;11. 脚注&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#11-脚注&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;这是一个句子[^1]。
&lt;span class=&quot;token url-reference url&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token variable&quot;&gt;^1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt; 脚注内容。&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;这是一个句子&lt;sup&gt;&lt;a href=&quot;#user-content-fn-1&quot; id=&quot;user-content-fnref-1&quot; data-footnote-ref=&quot;&quot; aria-describedby=&quot;footnote-label&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;。&lt;/p&gt;
&lt;h2 id=&quot;12-提示容器&quot;&gt;12. 提示容器&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#12-提示容器&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;9&lt;/span&gt;&lt;span&gt;10&lt;/span&gt;&lt;span&gt;11&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;:::tip 提示标题
这是一个提示容器。
:::

:::warning
支持 info / tip / warning / danger / details 五种类型。
:::

:::details 点击展开
details 容器默认折叠，点击标题展开。
:::
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;div class=&quot;md-container md-container-tip&quot;&gt;&lt;p class=&quot;md-container-title&quot;&gt;提示标题&lt;/p&gt;&lt;p&gt;这是一个提示容器。&lt;/p&gt;&lt;/div&gt;
&lt;div class=&quot;md-container md-container-warning&quot;&gt;&lt;p class=&quot;md-container-title&quot;&gt;warning&lt;/p&gt;&lt;p&gt;支持 info / tip / warning / danger / details 五种类型。&lt;/p&gt;&lt;/div&gt;
&lt;div class=&quot;md-container md-container-details&quot;&gt;&lt;p class=&quot;md-container-title&quot;&gt;点击展开&lt;/p&gt;&lt;p&gt;details 容器默认折叠，点击标题展开。&lt;/p&gt;&lt;/div&gt;
&lt;h2 id=&quot;13-内联-html&quot;&gt;13. 内联 HTML&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#13-内联-html&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;&lt;/span&gt;kbd&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;Ctrl&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;/&lt;/span&gt;kbd&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt; + &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;&lt;/span&gt;kbd&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;C&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;/&lt;/span&gt;kbd&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;  
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;&lt;/span&gt;span&lt;/span&gt; &lt;span class=&quot;token special-attr&quot;&gt;&lt;span class=&quot;token attr-name&quot;&gt;style&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;token value css language-css&quot;&gt;&lt;span class=&quot;token property&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;red&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;红色文字&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;/&lt;/span&gt;span&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;kbd&gt;Ctrl&lt;/kbd&gt; + &lt;kbd&gt;C&lt;/kbd&gt;&lt;br&gt;
&lt;span style=&quot;color:red;&quot;&gt;红色文字&lt;/span&gt;&lt;/p&gt;
&lt;h2 id=&quot;14-转义字符&quot;&gt;14. 转义字符&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#14-转义字符&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;\*不会变成斜体\*
\# 不是标题
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;*不会变成斜体*&lt;br&gt;
# 不是标题&lt;/p&gt;
&lt;h2 id=&quot;15-表情符号&quot;&gt;15. 表情符号&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#15-表情符号&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;:smile: :heart: :+1:
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;😄 ❤️ 👍&lt;/p&gt;
&lt;h2 id=&quot;16-自动链接&quot;&gt;16. 自动链接&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#16-自动链接&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;&amp;#x3C;https://example.com&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;#x3C;&lt;/span&gt;user@example.com&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
www.example.com（GFM 自动识别）
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://example.com&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;https://example.com&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;mailto:user@example.com&quot;&gt;user@example.com&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.example.com&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;www.example.com&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;17-数学公式&quot;&gt;17. 数学公式&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#17-数学公式&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M20.56 18H3.44C2.65 18 2 17.37 2 16.59V7.41C2 6.63 2.65 6 3.44 6H20.56C21.35 6 22 6.63 22 7.41V16.59C22 17.37 21.35 18 20.56 18M6.81 15.19V11.53L8.73 13.88L10.65 11.53V15.19H12.58V8.81H10.65L8.73 11.16L6.81 8.81H4.89V15.19H6.81M19.69 12H17.77V8.81H15.85V12H13.92L16.81 15.28L19.69 12Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;markdown&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-markdown&quot;&gt;$E=mc^2$
$$
\int_{a}^{b} f(x) dx
$$
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;效果：&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;katex&quot;&gt;&lt;span class=&quot;katex-mathml&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;msup&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;annotation encoding=&quot;application/x-tex&quot;&gt;E=mc^2&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&quot;katex-html&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;base&quot;&gt;&lt;span class=&quot;strut&quot; style=&quot;height:0.6833em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot; style=&quot;margin-right:0.0576em;&quot;&gt;E&lt;/span&gt;&lt;span class=&quot;mspace&quot; style=&quot;margin-right:0.2778em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mrel&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mspace&quot; style=&quot;margin-right:0.2778em;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;base&quot;&gt;&lt;span class=&quot;strut&quot; style=&quot;height:0.8141em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;mord&quot;&gt;&lt;span class=&quot;mord mathnormal&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;msupsub&quot;&gt;&lt;span class=&quot;vlist-t&quot;&gt;&lt;span class=&quot;vlist-r&quot;&gt;&lt;span class=&quot;vlist&quot; style=&quot;height:0.8141em;&quot;&gt;&lt;span style=&quot;top:-3.063em;margin-right:0.05em;&quot;&gt;&lt;span class=&quot;pstrut&quot; style=&quot;height:2.7em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sizing reset-size6 size3 mtight&quot;&gt;&lt;span class=&quot;mord mtight&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;span class=&quot;katex-display&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;span class=&quot;katex-mathml&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msubsup&gt;&lt;mo&gt;∫&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/msubsup&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding=&quot;application/x-tex&quot;&gt;\int_{a}^{b} f(x) dx&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&quot;katex-html&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;base&quot;&gt;&lt;span class=&quot;strut&quot; style=&quot;height:2.511em;vertical-align:-0.9119em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mop&quot;&gt;&lt;span class=&quot;mop op-symbol large-op&quot; style=&quot;margin-right:0.4445em;position:relative;top:-0.0011em;&quot;&gt;∫&lt;/span&gt;&lt;span class=&quot;msupsub&quot;&gt;&lt;span class=&quot;vlist-t vlist-t2&quot;&gt;&lt;span class=&quot;vlist-r&quot;&gt;&lt;span class=&quot;vlist&quot; style=&quot;height:1.599em;&quot;&gt;&lt;span style=&quot;top:-1.7881em;margin-left:-0.4445em;margin-right:0.05em;&quot;&gt;&lt;span class=&quot;pstrut&quot; style=&quot;height:2.7em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sizing reset-size6 size3 mtight&quot;&gt;&lt;span class=&quot;mord mtight&quot;&gt;&lt;span class=&quot;mord mathnormal mtight&quot;&gt;a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;top:-3.8129em;margin-right:0.05em;&quot;&gt;&lt;span class=&quot;pstrut&quot; style=&quot;height:2.7em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sizing reset-size6 size3 mtight&quot;&gt;&lt;span class=&quot;mord mtight&quot;&gt;&lt;span class=&quot;mord mathnormal mtight&quot;&gt;b&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;vlist-s&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;vlist-r&quot;&gt;&lt;span class=&quot;vlist&quot; style=&quot;height:0.9119em;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mspace&quot; style=&quot;margin-right:0.1667em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot; style=&quot;margin-right:0.1076em;&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;mopen&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;mclose&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot;&gt;d&lt;/span&gt;&lt;span class=&quot;mord mathnormal&quot;&gt;x&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;section data-footnotes=&quot;&quot; class=&quot;footnotes&quot;&gt;&lt;h2 class=&quot;sr-only&quot; id=&quot;footnote-label&quot;&gt;脚注&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#footnote-label&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;user-content-fn-1&quot;&gt;
&lt;p&gt;脚注内容。 &lt;a href=&quot;#user-content-fnref-1&quot; data-footnote-backref=&quot;&quot; aria-label=&quot;Back to reference 1&quot; class=&quot;data-footnote-backref&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content:encoded><category>示例</category><category>Markdown</category></item><item><title>添加自定义图标</title><link>https://citrusgrid.pages.dev/posts/tian-jia-zi-ding-yi-tu-biao/</link><guid isPermaLink="true">https://citrusgrid.pages.dev/posts/tian-jia-zi-ding-yi-tu-biao/</guid><description>图标采用硬编码形式，这是详细的添加步骤说明</description><pubDate>Thu, 03 Sep 2026 01:20:02 GMT</pubDate><content:encoded>&lt;h2 id=&quot;如何添加新图标&quot;&gt;如何添加新图标&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#如何添加新图标&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;图标库来自 &lt;a href=&quot;https://pictogrammers.com/library/mdi/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;MDI（Pictogrammers）&lt;/a&gt;，共三步：&lt;/p&gt;
&lt;h3 id=&quot;第一步复制-svg-路径到-srclibiconsts&quot;&gt;第一步：复制 SVG 路径到 &lt;code&gt;src/lib/icons.ts&lt;/code&gt;&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#第一步复制-svg-路径到-srclibiconsts&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;在 &lt;a href=&quot;https://pictogrammers.com/library/mdi/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;MDI 图标库&lt;/a&gt; 搜索并选中图标，复制其 SVG path 代码，在 &lt;code&gt;src/lib/icons.ts&lt;/code&gt; 顶部按字母顺序粘贴为导出常量：&lt;/p&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;ts&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-ts&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;export&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;const&lt;/span&gt; mdiAbTesting &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;
  &lt;span class=&quot;token string&quot;&gt;&apos;M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z&apos;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 id=&quot;第二步注册到-icons-映射表&quot;&gt;第二步：注册到 &lt;code&gt;icons&lt;/code&gt; 映射表&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#第二步注册到-icons-映射表&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;在同文件底部的 &lt;code&gt;icons&lt;/code&gt; 对象中添加条目（key 为 kebab-case 全名）：&lt;/p&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;ts&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-ts&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;export&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;const&lt;/span&gt; icons &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;token comment&quot;&gt;// ...&lt;/span&gt;
  &lt;span class=&quot;token string-property property&quot;&gt;&apos;mdi-ab-testing&apos;&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;:&lt;/span&gt; mdiAbTesting&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 id=&quot;第三步在组件中导入并使用&quot;&gt;第三步：在组件中导入并使用&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#第三步在组件中导入并使用&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;在 &lt;code&gt;.astro&lt;/code&gt; 组件的 frontmatter 里按名导入，然后用 &lt;code&gt;Icon&lt;/code&gt; 组件渲染：&lt;/p&gt;
&lt;div class=&quot;code-block&quot;&gt;&lt;div class=&quot;code-header&quot;&gt;&lt;span class=&quot;code-lang&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;astro&lt;/span&gt;&lt;button class=&quot;code-copy&quot; type=&quot;button&quot; onclick=&quot;window.__blogCopyCode(this)&quot;&gt;&lt;svg class=&quot;mdi-icon&quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 24 24&quot; fill=&quot;currentColor&quot; aria-hidden=&quot;true&quot;&gt;&lt;path d=&quot;M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;span&gt;复制&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;code-body&quot;&gt;&lt;div class=&quot;code-gutter&quot;&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;code-pre&quot;&gt;&lt;code class=&quot;language-text&quot;&gt;---
import Icon from &apos;@/components/Icon.astro&apos;
import { mdiAbTesting } from &apos;@/lib/icons&apos;
---

&amp;#x3C;Icon d={mdiAbTesting} class=&quot;text-sm&quot; /&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 id=&quot;首页卡片平台图标&quot;&gt;首页卡片平台图标&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#首页卡片平台图标&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;在 &lt;code&gt;src\components\ProfileCard.astro&lt;/code&gt; 中参考其他图标导入添加即可。&lt;/p&gt;
&lt;h2 id=&quot;为什么硬编码图标&quot;&gt;为什么硬编码图标&lt;a class=&quot;heading-anchor&quot; tabindex=&quot;-1&quot; aria-label=&quot;标题锚点&quot; href=&quot;#为什么硬编码图标&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;答：为了做到零网络请求、零依赖、极致的性能，缺点是添加新图标比较麻烦。&lt;/p&gt;</content:encoded><category>示例</category><category>图标</category></item></channel></rss>