Shortcodes
Markdown extensions to render custom components
Blocklink
π A blocklink shortcode displays a link with a title and description.
Columns
π Puts anything into columns and distributes them evenly
Contributors
π List of contributors to a repo
Issue
π Embed an issue
Label Items
π Create a label items task with feedback
Logos
π A grid of logos with links to external sites.
Multiple Choice
π Create a multiple choice question with options
Note
π A note with a title and a body
Objectives
π Passing objectives from GitHub to Hugo
Our Name
π A shortcode to variabalise the name of the organisation
Tabs
π Puts anything into tabs
Tasks
π Inert objectives
Timer
π A countdown timer
Tooltip
π A tooltip that shows on hover, click, or focus
YouTube
π Embed a YouTube video
Shortcodes can be used in markdown copy. This means you can render chunks of custom code inside the markdown render loop. This is useful for creating reusable components that can be used in multiple places. The syntax for invoking a shortcode is {{
< shortcode-name >
}}
. The shortcode name is the name of the file in the layouts/shortcodes
directory.