<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Shortcode on GS Lab 高山实验室</title><link>https://blog.gs-lab.ac.cn/tags/shortcode/</link><description>Recent content in Shortcode on GS Lab 高山实验室</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 05 Sep 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://blog.gs-lab.ac.cn/tags/shortcode/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo 学习笔记（三）：Shortcode 与代码高亮，让 Markdown 长出 HTML</title><link>https://blog.gs-lab.ac.cn/posts/hugo-shortcodes/</link><pubDate>Sat, 05 Sep 2026 10:00:00 +0800</pubDate><guid>https://blog.gs-lab.ac.cn/posts/hugo-shortcodes/</guid><description>纯 Markdown 写文章够用，但偶尔想插入带标题的图片、高亮某几行代码、嵌一段视频时就力不从心。Hugo 的 Shortcode 就是为此而生——在 Markdown 里用一个短标签调用模板，构建时渲染成完整 HTML。这篇记录内置 shortcode、代码高亮和自定义 shortcode 的用法。</description></item></channel></rss>