×
Internal documentation only
This page has been marked as draft.
checkbox
You can add an interactive checkbox using the checkbox
shortcode. The shortcode can be used in all docs projects and is defined in core-docs/core/themes/itrs/layouts/shortcodes/checkbox.html
.
For example:
{{< storylane url="https://app.storylane.io/demo/rtezbr8ni1gs" >}}
You can use a {{< checkbox >}} anywhere in text, but it has special behavior in a list:
- {{< checkbox >}} try it in a unordered list.
- Look, the bullets are replaced by the checkbox.
- {{< checkbox >}} Nesting works too
- {{< checkbox >}} try it in an ordered list.
- Numbering is preserved.
1. {{< checkbox >}} this is a ordered list.
2. It has two steps
Ordinary markdown checkboxes also work, but are not interactive:
- [] option1
- [x] option 2
which produces:
You can use a anywhere in text, but it has special behavior in a list:
- Try it in a unordered list.
- Look the bullets are replaced by the checkbox.
- Nesting works too
- Try it in an ordered list.
- Numbering is preserved.
- this is a ordered list.
- It has two steps
Github style markdown checkboxes also work, but are not interactive:
- option1
- option 2
["Obcerv"]
["User Guide"]