πͺ’ 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
- πΌοΈ
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
- π’
Our Name
π A shortcode to variabalise the name of the organisation
- π
Tabs
π Puts anything into tabs
- β³
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.