code
Custom. Create codeblocks using local files.
Use the inbuilt and custom Hugo shortcodes to extend beyond the default Markdown definition.
The Hugo shortcodes are very useful for embedding tweets, Instagram posts, Vimeo videos, etc.
We have also added additional custom shortcodes for buttons, details, light/dark images, tables and raw HTML. See the shortcode templates in /themes/citadel/layouts/shortcodes.
Custom. Create codeblocks using local files.
Custom. Create a standard alert flash with markdown content.
Inbuilt. Include GitHub gist files in your markdown. Great for logs, small scripts etc.
Custom. GitHub-style responsive images that adapt to both system preference and manual theme toggle.
Custom. Embed raw HTML code when markdown doesn't go far enough. The example shows how to capture coloured ASCII output from terraform.
Custom. Provide tabbed alternatives (tabs/tab) and richer mode panels (modes/mode) for CLI, PowerShell, Portal etc. Supports query parameter and persistence.
Inbuilt. Embed Youtube videos into your pages.