Skip to content

Commit

Permalink
Add active class to the first tab. Fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
yacir committed Jun 16, 2017
1 parent 99d6eda commit 4881bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown_fenced_code_tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class FencedCodeTabsSet(object):
</ul>
"""
TAB_SET_HANDLE_TEMPLATE = """
<li class="nav-item">
<li class="nav-item {isTabActiveClass}">
<a href="#{id}" aria-controls="{id}" role="tab" data-toggle="tab" data-lang="{lang}">{ulang}</a>
</li>
"""
Expand Down

0 comments on commit 4881bb3

Please sign in to comment.