How to include Icons as card images
If no image file is found in a resource, then Tutors will look to display an SVG Icon instead. This Icon is drawn from the Iconify collection:
| Example Resource | Display |
|---|---|
| Icon based cards | Iconify |
You can search for an icon in that collection, locate the reference and include this + a colour in a FrontMatter section for the Learning Resource. For example:
---
icon:
type: vscode-icons:file-type-pdf2
---
The above icon is drawn from this resource:
For monochrome icons, you can also specify the icon colour:
---
icon:
type: bi:filetype-pptx
color: green
---