table of content

This commit is contained in:
Rohit Tanwar
2018-01-21 14:52:39 +05:30
parent bdf268e0a6
commit a419393f2f
2 changed files with 4 additions and 4 deletions

View File

@ -19,12 +19,12 @@
<li><a href = "#shuffle"><code>shuffle</code></a></li>
<li><a href = "#spread"><code>spread</code></a></li>
<li><a href = "#zip"><code>zip</code></a></li>
</ul><details>
</ul></details>
### :scroll: String
<details><summary>View contents<summary> <ul><li><a href = "#count_vowels"><code>count_vowels</code></a></li>
</ul><details>
</ul></details>
### :heavy_division_sign: Math
@ -32,7 +32,7 @@
<li><a href = "#lcm"><code>lcm</code></a></li>
<li><a href = "#max_n"><code>max_n</code></a></li>
<li><a href = "#min_n"><code>min_n</code></a></li>
</ul><details>
</ul></details>
<hr></hr>

View File

@ -39,7 +39,7 @@ for category in tag_dict:
toAppend = toAppend + '### ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n<details><summary>View contents<summary> <ul>'
for snippet in tag_dict[category]:
toAppend += f'<li><a href = "#{snippet}"><code>{snippet}</code></a></li>\n'
toAppend += '</ul><details>\n\n'
toAppend += '</ul></details>\n\n'
toAppend += '<hr></hr> \n\n'
for category in tag_dict:
toAppend = toAppend + '## ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n'