-
Description Steps are used mainly in organizing a procedure in documentation. They should be excluded from the page navigation, as they don't represent any sort of navigation through the page. Steps To Reproduce I created a procedure with the Steps shortcode. Expected Behavior The steps should display in body of text only. Actual Behavior The pretty procedure layout is displayed but also Step 1, step 2, etc. is displayed in the "On this page" navigation. Screenshots I tried to use bold fencing or an ordered list instead, but I lose the pretty layout intended. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, thanks for this issue. It is by design that the Steps shortcode uses You can override this behavior by:
<div class="steps ml-4 mb-12 border-l border-gray-200 pl-6 dark:border-neutral-800 [counter-reset:step]">
{{ .Inner | markdownify }}
</div>
References: |
Beta Was this translation helpful? Give feedback.
-
Thank you so much ! |
Beta Was this translation helpful? Give feedback.
Hi, thanks for this issue. It is by design that the Steps shortcode uses
h3
instead of ordered/unordered lists.You can override this behavior by:
layouts/shortcodes/steps.html
file to override the default steps shortcode template:<>
angle brackets:References: