Internal documentation only

This page has been marked as a 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:

  1. this is a ordered list.
  2. It has two steps

Github style markdown checkboxes also work, but are not interactive:

["Obcerv"] ["User Guide"]

Was this topic helpful?