Was this page helpful?
A custom role that lets you add labels to your text.
For example, you could use the label role to promote experimental features or highlight that a feature is only available in a specific software version.
:label-<style>:`Text`
Where:
style: Available values are default
, note
, tip
, caution
, warning
.
Using:
:label-default:`Default`, :label-note:`Note`, :label-tip:`Tip`, :label-caution:`Caution`, :label-warning:`Warning`
Results in:
Default, Note, Tip, Caution, Warning
Using:
Heading :label-caution:`Beta`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Results in:
Was this page helpful?