Skip to content

Commit 5eb7033

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

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

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

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -501,25 +501,21 @@ This is the final element on the page and there should be no margin below this.
501501
502502
Layer5 docs support tabbed content using the `tabpane` shortcode. Here's a basic example:
503503
504-
{{< tabpane text=true >}}
504+
{{< tabpane >}}
505505
506-
{{< tab name="Example Tab 1" >}}
506+
{{< tab name="Tab 0" >}}
507507
508-
<div style="width: 100%; display: flex;">
509-
<div style="flex: 1; background-color: #2d2d2d; color: #ffffff; padding: 1rem; border-radius: 4px; font-family: monospace;">
510-
This is the content inside Example Tab 1.
511-
</div>
512-
</div>
508+
{{% highlight text %}}
509+
This is the content inside Example Tab 1.
510+
{{% /highlight %}}
513511
514512
{{< /tab >}}
515513
516-
{{< tab name="Example Tab 2" >}}
514+
{{< tab name="Tab 1" >}}
517515
518-
<div style="width: 100%; display: flex;">
519-
<div style="flex: 1; background-color: #2d2d2d; color: #ffffff; padding: 1rem; border-radius: 4px; font-family: monospace;">
520-
This is the content inside Example Tab 2.
521-
</div>
522-
</div>
516+
{{% highlight text %}}
517+
This is the content inside Example Tab 2.
518+
{{% /highlight %}}
523519
524520
{{< /tab >}}
525521

0 commit comments

Comments
 (0)