Rich Content

· 134字 · 1分钟

Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.


YouTube Privacy Enhanced Shortcode 🔗



Bilibili Simple ShortCode 🔗



Netease Simple Shortcode 🔗


gist Simple Shortcode 🔗

Figure Simple Shortcode 🔗

Vincent van Gogh


Mermaid 示例 🔗

下面是一个简单的流程图与时序图示例。

graph TD
  A[Start] --> B{Is it?}
  B -- Yes --> C[OK]
  B -- No --> D[Not OK]
sequenceDiagram
  participant User
  participant Server
  User->>Server: Request
  Server-->>User: Response

Markmap 示例 🔗

使用语言为 markmap 的代码块将自动渲染为交互式思维导图。