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

View File

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