table of content
This commit is contained in:
24
README.md
24
README.md
@ -8,6 +8,30 @@
|
||||
**Note**:- This is in no way affiliated with the original [30-seconds-of-code](https://github.com/Chalarangelo/30-seconds-of-code/).
|
||||
|
||||
|
||||
## Table of Content
|
||||
# :books: List
|
||||
|
||||
<ul><li>chunk</li>
|
||||
<li>compact</li>
|
||||
<li>count_occurences</li>
|
||||
<li>deep_flatten</li>
|
||||
<li>difference</li>
|
||||
<li>shuffle</li>
|
||||
<li>spread</li>
|
||||
<li>zip</li>
|
||||
</ul>
|
||||
# :scroll: String
|
||||
|
||||
<ul><li>count_vowels</li>
|
||||
</ul>
|
||||
# :heavy_division_sign: Math
|
||||
|
||||
<ul><li>gcd</li>
|
||||
<li>lcm</li>
|
||||
<li>max_n</li>
|
||||
<li>min_n</li>
|
||||
</ul>
|
||||
<hr></hr>
|
||||
## :books: List
|
||||
|
||||
### chunk
|
||||
|
||||
@ -34,6 +34,13 @@ start = open("static-parts/readme-start.md").read() + '\n\n'
|
||||
end = open("static-parts/readme-end.md").read()
|
||||
toAppend = ''
|
||||
tag_dict = tagger()
|
||||
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>{snippet}</li>\n'
|
||||
toAppend += '</ul>\n'
|
||||
toAppend += '<hr></hr> \n'
|
||||
for category in tag_dict:
|
||||
toAppend = toAppend + '## ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n'
|
||||
for snippet in tag_dict[category]:
|
||||
|
||||
Reference in New Issue
Block a user