Skip to content

Commit 871cc1c

Browse files
Update contributing-to-docs.md
Signed-off-by: Ayush More <ayushmore42595@gmail.com>
1 parent 59132de commit 871cc1c

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

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

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -503,33 +503,22 @@ Layer5 docs support tabbed content using the `tabpane` shortcode. Here's a basic
503503
504504
{{< tabpane text=true >}}
505505
506-
{{< tab header="Example Tab 1" >}}
506+
{{< tab name="Example Tab 1" >}}
507507
508-
```plaintext
509-
This is the content inside Example Tab 1.
510-
```
508+
<div class="highlight"><pre><code>This is the content inside Example Tab 1.</code></pre></div>
511509
512510
{{< /tab >}}
513511
514-
{{< tab header="Example Tab 2" >}}
512+
{{< tab name="Example Tab 2" >}}
515513
516-
```plaintext
517-
This is the content inside Example Tab 2.
518-
```
514+
<div class="highlight"><pre><code>This is the content inside Example Tab 2.</code></pre></div>
519515
520516
{{< /tab >}}
521517
522518
{{< /tabpane >}}
523519
524520
Use this shortcode to display platform-specific commands, language-specific code blocks, or comparisons — all in an elegant, user-friendly tab layout.
525521
526-
<style>
527-
.tab-content { padding: 0 !important; }
528-
.tab-content pre { margin: 0 !important; border-radius: 0 !important; }
529-
</style>
530-
531-
532-
533522
534523
### Footnotes
535524

0 commit comments

Comments
 (0)