table of content
This commit is contained in:
@ -36,7 +36,7 @@ toAppend = ''
|
||||
tag_dict = tagger()
|
||||
toAppend += '## Table of Content \n'
|
||||
for category in tag_dict:
|
||||
toAppend = toAppend + '### ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n<details><summary>View contents<summary> <ul>'
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user