Instruction Components
Check out the components that you can use inside the markdown of instructions
Last updated
Check out the components that you can use inside the markdown of instructions
Last updated
Simple link to a URL:
Attribute | Type | Description |
---|---|---|
|
| URL to link to |
|
| Custom text color |
Choose between different variants or customize it with your own colors:
Attribute | Type | Description |
---|---|---|
|
| URL to link to |
|
| Pick a style: |
|
| Custom background color |
|
| Custom text color |
Place a link that takes the user to a specific tab inside the lab:
Attribute | Type | Description |
---|---|---|
|
| Resource id of the target tab |
|
| Custom text color |
Place a button that takes the user to a specific tab inside the lab:
Attribute | Type | Description |
---|---|---|
|
| Resource id of the target tab |
|
| Pick a style: |
|
| Custom background color |
|
| Custom text color |
Show a code snippet to the user:
Attribute | Type | Description |
---|---|---|
|
| Which syntax highlight to use |
|
| Show each line number |
|
| What number to start counting from |
|
| Hide the copy button |
|
| Offer to run the code in a terminal |
|
| Used only by the code group component |
Group code snippets together:
Show how the user is progressing on their tasks, with a call to action when they are all complete:
Attribute | Type | Description |
---|---|---|
|
| Greetings message |
|
| Call to action button text |
Ask the user to rate the track with an optional message:
Show the user an embedded PDF:
Attribute | Type | Description |
---|---|---|
|
| URL to the file |
Interactively ask questions to the user:
Attribute | Type | Description |
---|---|---|
|
| Resource id of the quiz |
Embed a presentation from Google Slides:
Attribute | Type | Description |
---|---|---|
|
| Google Slides id |
Show the user a breakdown of task conditions:
Attribute | Type | Description |
---|---|---|
|
| Resource id of the task |
Embed a video from Vimeo or YouTube:
Attribute | Type | Description |
---|---|---|
|
| The id of the video |
|
| Either |