Skip to content

Commit 3677ea5

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

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -499,23 +499,24 @@ This is the final element on the page and there should be no margin below this.
499499
500500
### TabPane Shortcode Example
501501
502-
Layer5 docs support tabbed content using the `tabpane` shortcode. Heres a basic example:
502+
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 >}}
505510
506-
{{< tab name="Example Tab 1" >}}
507-
This is the content inside Example Tab 1.
508-
{{< /tab >}}
509-
510-
{{< tab name="Example Tab 2" >}}
511-
This is the content inside Example Tab 2.
512-
{{< /tab >}}
513-
511+
{{< tab name="Example Tab 2" >}}
512+
```text
513+
This is the content inside Example Tab 2.
514+
```
515+
{{< /tab >}}
514516
{{< /tabpane >}}
515517
516518
Use this shortcode to display platform-specific commands, language-specific code blocks, or comparisons — all in an elegant, user-friendly tab layout.
517519
518-
519520
### Footnotes
520521
521522
This is a superscript number for your footnote. [^1]

0 commit comments

Comments
 (0)