table of content

This commit is contained in:
Rohit Tanwar
2018-01-21 14:48:34 +05:30
parent a1b76ad559
commit 0635a9c74e
2 changed files with 14 additions and 14 deletions

View File

@ -38,7 +38,7 @@ toAppend += '## Table of Content \n'
for category in tag_dict:
toAppend = toAppend + '# ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n <ul>'
for snippet in tag_dict[category]:
toAppend += f'<li><a href = "#{snippet}">{snippet}</a></li>\n'
toAppend += f'<li><a href = "#{snippet}">`{snippet}`</a></li>\n'
toAppend += '</ul>\n\n'
toAppend += '<hr></hr> \n\n'
for category in tag_dict: