<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shortcodes on Yore</title><link>https://yore.zsl0621.cc/docs/shortcodes/</link><description>Recent content in Shortcodes on Yore</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 17 Jan 2026 10:40:00 +0800</lastBuildDate><atom:link href="https://yore.zsl0621.cc/docs/shortcodes/index.xml" rel="self" type="application/rss+xml"/><item><title>Writing</title><link>https://yore.zsl0621.cc/docs/shortcodes/writing/</link><pubDate>Sat, 17 Jan 2026 10:40:00 +0800</pubDate><guid>https://yore.zsl0621.cc/docs/shortcodes/writing/</guid><description>&lt;h2 id="admonition"&gt;
	Admonition
	&lt;a class="heading-anchor" href="#admonition" aria-label="Permalink to 'Admonition'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Admonitions allow you to insert eye-catching callout boxes in your content.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Markdown syntax with custom icon&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-md" data-lang="md"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&amp;gt; &lt;/span&gt;&lt;span class="ge"&gt;[!TIP]+ Custom Title
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;&amp;gt; &lt;/span&gt;&lt;span class="ge"&gt;This is a collapsible tip with a custom icon.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{icon=&amp;#34;twitter&amp;#34;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;details
		class="admonition group relative my-6 overflow-hidden border-s-4 group"
		data-type="tip"
		open&gt;
		&lt;summary class="flex items-center gap-2 px-4 py-1 font-bold admonition-header cursor-pointer"&gt;
			&lt;div class="flex h-5 w-5 shrink-0 items-center justify-center text-lg"&gt;&lt;span class="icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;!--! Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --&gt;&lt;path fill="currentColor" d="M459.4 151.7c.3 4.5 .3 9.1 .3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103l0-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53 51.7 63.7 129.3 105.3 216.4 109.8-1.6-7.8-2.6-15.9-2.6-24 0-57.8 46.8-104.9 104.9-104.9 30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3z"/&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
			&lt;div class="flex grow items-center gap-1"&gt;
				Custom Title
				&lt;div
					class="flex h-5 w-5 -rotate-90 items-center justify-center transition-transform group-open:rotate-0 print:hidden"&gt;&lt;span class="icon"&gt;&lt;svg width="24" height="24" stroke-width="2" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;path d="M6 9L12 15L18 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;/svg&gt;
&lt;/span&gt;&lt;/div&gt;
			&lt;/div&gt;
		&lt;/summary&gt;&lt;div class="admonition-content px-4 py-1 text-base leading-relaxed"&gt;&lt;p&gt;This is a collapsible tip with a custom icon.&lt;/p&gt;</description></item><item><title>Media and Content Embeddings</title><link>https://yore.zsl0621.cc/docs/shortcodes/media/</link><pubDate>Sat, 17 Jan 2026 10:40:00 +0800</pubDate><guid>https://yore.zsl0621.cc/docs/shortcodes/media/</guid><description>&lt;h2 id="article-card"&gt;
	Article Card
	&lt;a class="heading-anchor" href="#article-card" aria-label="Permalink to 'Article Card'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;The &lt;code&gt;article&lt;/code&gt; shortcode generates a visual preview card for a specified internal page.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Parameter&lt;/th&gt;
 &lt;th&gt;Description&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;link&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;Required.&lt;/strong&gt; The logical path of the target internal page.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;showSummary&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;Optional.&lt;/strong&gt; Whether the page summary is displayed. &lt;strong&gt;Default:&lt;/strong&gt; &lt;code&gt;true&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;lang&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;Optional.&lt;/strong&gt; Get page from another language of your site.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Math</title><link>https://yore.zsl0621.cc/docs/shortcodes/math/</link><pubDate>Sat, 17 Jan 2026 10:40:00 +0800</pubDate><guid>https://yore.zsl0621.cc/docs/shortcodes/math/</guid><description>&lt;p&gt;Render LaTeX math in pages using 
.&lt;/p&gt;
&lt;h2 id="configuration"&gt;
	Configuration
	&lt;a class="heading-anchor" href="#configuration" aria-label="Permalink to 'Configuration'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Configure Goldmark to bypass math delimiters:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="codeblock-title"&gt;hugo.yaml&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;markup&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;goldmark&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;extensions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;passthrough&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;enable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;delimiters&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;block&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;\[&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;\]&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;$$&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;$$&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;inline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;\(&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;\)&amp;#39;&lt;/span&gt;&lt;span class="p"&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;Passthrough skips Goldmark processing for matched content. Then enable math per page:&lt;/p&gt;</description></item><item><title>Chart</title><link>https://yore.zsl0621.cc/docs/shortcodes/chart/</link><pubDate>Sat, 17 Jan 2026 10:40:00 +0800</pubDate><guid>https://yore.zsl0621.cc/docs/shortcodes/chart/</guid><description>&lt;h2 id="chart"&gt;
	Chart
	&lt;a class="heading-anchor" href="#chart" aria-label="Permalink to 'Chart'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;chart&lt;/code&gt; uses the 
 to embed charts into articles. It supports a vast range of 
.&lt;/p&gt;
&lt;div class="admonition group relative my-6 overflow-hidden border-s-4" data-type="note"&gt;
		&lt;div class="flex items-center gap-2 px-4 py-1 font-bold admonition-header"&gt;
			&lt;div class="flex h-5 w-5 shrink-0 items-center justify-center text-lg"&gt;&lt;span class="icon"&gt;&lt;svg width="24" height="24" viewBox="0 0 24 24" stroke-width="2" fill="none" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;path d="M4 21.4V2.6C4 2.26863 4.26863 2 4.6 2H16.2515C16.4106 2 16.5632 2.06321 16.6757 2.17574L19.8243 5.32426C19.9368 5.43679 20 5.5894 20 5.74853V21.4C20 21.7314 19.7314 22 19.4 22H4.6C4.26863 22 4 21.7314 4 21.4Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;path d="M8 10L16 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;path d="M8 18L16 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;path d="M8 14L12 14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;path d="M16 2V5.4C16 5.73137 16.2686 6 16.6 6H20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/&gt;
&lt;/svg&gt;
&lt;/span&gt;&lt;/div&gt;
			&lt;div class="grow"&gt;
				Note
			&lt;/div&gt;
		&lt;/div&gt;&lt;div class="admonition-content px-4 py-1 text-base leading-relaxed"&gt;&lt;p&gt;The &lt;code&gt;chart&lt;/code&gt; shortcode places your code directly into a &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag. To ensure compatibility:&lt;/p&gt;</description></item><item><title>Mermaid</title><link>https://yore.zsl0621.cc/docs/shortcodes/mermaid/</link><pubDate>Sat, 17 Jan 2026 10:40:00 +0800</pubDate><guid>https://yore.zsl0621.cc/docs/shortcodes/mermaid/</guid><description>&lt;h2 id="mermaid"&gt;
	Mermaid
	&lt;a class="heading-anchor" href="#mermaid" aria-label="Permalink to 'Mermaid'"&gt;&lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;mermaid&lt;/code&gt; allows you to draw detailed diagrams and visualisations using text. It uses Mermaid under the hood and supports a wide variety of diagrams, charts and other output formats.&lt;/p&gt;</description></item></channel></rss>