Hugo-theme-stack/exampleSite/content/post/rich-content/index.md
Jimmy Cai d75dbe2b6e
fix: copy code button does not work when line number is enabled (#487)
* fix: copy code button does not work when line number is enabled

* fix pre style

* Add gist shortcode to exampleSite
2022-02-06 20:32:37 +01:00

829 B

+++ author = "Hugo Authors" title = "Rich Content" date = "2019-03-10" description = "A brief description of Hugo Shortcodes" tags = [ "shortcodes", "privacy", ] +++

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

{{< youtube ZJthWmvUzzc >}}



Twitter Simple Shortcode

{{< twitter_simple 1085870671291310081 >}}



Vimeo Simple Shortcode

{{< vimeo_simple 48912912 >}}

bilibilibi Shortcode

{{< bilibili av498363026 >}}

Gist Shortcode

{{< gist spf13 7896402 >}}