File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
content/docs/guide/shortcodes Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ title: Steps
44
55A built-in component to display a series of steps.
66
7+ You can use the Markdown attribute ` {class="no-step-marker"} ` to prevent a heading from being counted as a step.
8+
79## Example
810
911{{% steps %}}
@@ -16,6 +18,10 @@ This is the first step.
1618
1719This is the second step.
1820
21+ #### Step subheading {class="no-step-marker"}
22+
23+ This will not be counted as a step.
24+
1925### Step 3
2026
2127This is the third step.
@@ -43,5 +49,9 @@ This is the first step.
4349
4450This is the second step.
4551
52+ #### Step subheading {class="no-step-marker"}
53+
54+ This will not be counted as a step.
55+
4656{{%/* /steps */%}}
4757```
Original file line number Diff line number Diff line change 715715 " msupsub" ,
716716 " mtable" ,
717717 " mtight" ,
718+ " no-step-marker" ,
718719 " not-prose" ,
719720 " nulldelimiter" ,
720721 " op-symbol" ,
Original file line number Diff line number Diff line change 1- < h {{ .Level }} >
1+ < h {{ .Level }} {{- with .Attributes.class }} class =" {{ . }} " {{- end }} >
22 {{- .Text | safeHTML -}}
33 {{- if gt .Level 1 -}}
44 < span class ="hx:absolute hx:-mt-20 " id ="{{ .Anchor | safeURL }} "> </ span >
You can’t perform that action at this time.
0 commit comments