Xin 2af73b3d7e
feat: shortcode for Jupyter Notebook (#337)
* feat: shortcode for Jupyter Notebook

* chore: update generated CSS files

* chore: add example Jupyter Notebook file

* chore: update doc

* chore: enhance jupyter notebook styling

- use raw markdown for contents like code block and markdown text

* feat: support load notebook from assets and remote

- update docs accordingly
- add example notebook file

* chore: rename example file
2024-09-14 14:29:55 +01:00

1.0 KiB

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" >}} {{< /cards >}}