Files
hextra/exampleSite/content/docs/guide/shortcodes/_index.md
Lamber 524af14bd1 feat(shortcode): add shortcode for asciinema (#779)
* Add asciinema shortcode and usage examples

* Add asciinema shortcode

* Modify

* Modify

* Modify

* Modify

* Modify

* Remove old blog post and move content to dedicated documentation

* Add remote cast file support

* Fix remote cast file support

* Modify asciinema guide

* Add asciinema controls and idleTimeLimit

* fix the play button position issue and update some details

* Remove forced /casts/ prefix, implement flexible file lookup
2025-08-25 08:50:53 +01:00

1.2 KiB

title, weight, prev, next
title weight prev next
Shortcodes 9 /docs/guide/diagrams /docs/guide/shortcodes/callout

Hugo Shortcodes are simple snippets inside your content files calling built-in or custom templates.

Hextra provides a collection of beautiful shortcodes to enhance your content.

{{< cards >}} {{< card link="callout" title="Callout" icon="warning" >}} {{< card link="cards" title="Cards" icon="card" >}} {{< card link="details" title="Details" icon="chevron-right" >}} {{< card link="filetree" title="FileTree" icon="folder-tree" >}} {{< card link="icon" title="Icon" icon="badge-check" >}} {{< card link="steps" title="Steps" icon="one" >}} {{< card link="tabs" title="Tabs" icon="collection" >}} {{< /cards >}}

Additional shortcodes provided by Hugo and Hextra:

{{< cards >}} {{< card link="jupyter" title="Jupyter Notebook" icon="jupyter" tag="alpha" >}} {{< card link="others" title="Others" icon="view-grid" >}} {{< card link="hextra" title="Hextra" icon="view-grid" >}} {{< card link="asciinema" title="Asciinema Player" icon="terminal" >}} {{< /cards >}}