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

@ -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'