Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e912575

Browse files
SoulPrudyawaylan
authored andcommitted
Fix incorrect TOC list structure in docs
1 parent 42d4b43 commit e912575

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎docs/extensions/toc.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ would generate the following output:
4949
```html
5050
<div class="toc">
5151
<ul>
52-
<li><a href="#header-1">Header 1</a></li>
52+
<li>
53+
<a href="#header-1">Header 1</a>
5354
<ul>
5455
<li><a href="#header-2">Header 2</a></li>
5556
</ul>
57+
</li>
5658
</ul>
5759
</div>
5860
<h1 id="header-1">Header 1</h1>
@@ -121,10 +123,12 @@ would generate the following output:
121123
```html
122124
<div class="toc">
123125
<ul>
124-
<li><a href="#functions">Functions</a></li>
126+
<li>
127+
<a href="#functions">Functions</a>
125128
<ul>
126129
<li><a href="#markdown">markdown.markdown</a></li>
127130
</ul>
131+
</li>
128132
</ul>
129133
</div>
130134
<h1 id="functions">Functions</h1>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /