Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/source_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ Use `\@lucide_icon{icon name}` to insert a Lucide icon.

#### Tabs

Use `\@tab_with_pipe` when the tab content contains a pipe (`|`). Its arguments use `|:|` as the separator.

<table class="doxtable code-result-table">
<tr>
<th>Code</th>
Expand All @@ -483,14 +485,14 @@ Use `\@lucide_icon{icon name}` to insert a Lucide icon.
@verbatim
@tabs{
@tab{ Tab 1 Title | Tab 1 Content }
@tab{ Tab 2 Title | Tab 2 Content }
@tab_with_pipe{ Pipeline |:| `printf 'Hello\n' | grep Hello` }
}
@endverbatim
</td>
<td>
@tabs{
@tab{ Tab 1 Title | Tab 1 Content }
@tab{ Tab 2 Title | Tab 2 Content }
@tab_with_pipe{ Pipeline |:| `printf 'Hello\n' | grep Hello` }
}
</td>
</tr>
Expand Down
1 change: 1 addition & 0 deletions doxyconfig-Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ ALIASES += "warning{1}=@_admonition{Warning | section warning | triangle-alert |
# tabs
# see: https://github.com/jothepro/doxygen-awesome-css/discussions/146
ALIASES += tab{2|}="<li><b class=\"tab-title\">\1</b>^^\2^^</li>"
ALIASES += tab_with_pipe{2|:|}="<li><b class=\"tab-title\">\1</b>^^\2^^</li>"
ALIASES += tabs{1}="<div class=\"tabbed\"><ul>^^\1^^</ul></div><br>"
# markers
ALIASES += red{1}="<span style=\"color:red\">\1</span>"
Expand Down