table of content

This commit is contained in:
Rohit Tanwar
2018-01-21 14:45:28 +05:30
parent 93a9b0f30f
commit dd7c3c2b7b
2 changed files with 4 additions and 1 deletions

View File

@ -20,10 +20,12 @@
<li>spread</li>
<li>zip</li>
</ul>
# :scroll: String
<ul><li>count_vowels</li>
</ul>
# :heavy_division_sign: Math
<ul><li>gcd</li>
@ -31,6 +33,7 @@
<li>max_n</li>
<li>min_n</li>
</ul>
<hr></hr>
## :books: List

View File

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