Skip to content

Commit bcf3ee3

Browse files
Update contributing-to-docs.md
Signed-off-by: Ayush More <ayushmore42595@gmail.com>
1 parent 3677ea5 commit bcf3ee3

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

content/en/contributing/contributing-to-docs.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -502,21 +502,24 @@ This is the final element on the page and there should be no margin below this.
502502
Layer5 docs support tabbed content using the `tabpane` shortcode. Here's a basic example:
503503
504504
{{< tabpane text=true >}}
505-
{{< tab name="Example Tab 1" >}}
506-
```text
507-
This is the content inside Example Tab 1.
508-
```
509-
{{< /tab >}}
510505
511-
{{< tab name="Example Tab 2" >}}
512-
```text
513-
This is the content inside Example Tab 2.
514-
```
515-
{{< /tab >}}
506+
{{< tab name="Example Tab 1" >}}
507+
508+
<div class="highlight"><pre><code>This is the content inside Example Tab 1.</code></pre></div>
509+
510+
{{< /tab >}}
511+
512+
{{< tab name="Example Tab 2" >}}
513+
514+
<div class="highlight"><pre><code>This is the content inside Example Tab 2.</code></pre></div>
515+
516+
{{< /tab >}}
517+
516518
{{< /tabpane >}}
517519
518520
Use this shortcode to display platform-specific commands, language-specific code blocks, or comparisons — all in an elegant, user-friendly tab layout.
519521
522+
520523
### Footnotes
521524
522525
This is a superscript number for your footnote. [^1]

0 commit comments

Comments
 (0)