table of content

This commit is contained in:
Rohit Tanwar
2018-01-21 14:49:23 +05:30
parent 0635a9c74e
commit 36dff66c26
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}"><code>{snippet}</code></a></li>\n'
toAppend += '</ul>\n\n'
toAppend += '<hr></hr> \n\n'
for category in tag_dict: