table of content
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
## Table of Content
|
## Table of Content
|
||||||
### :books: List
|
### :books: List
|
||||||
|
|
||||||
<ul><li><a href = "#chunk"><code>chunk</code></a></li>
|
<details><summary>View contents<summary> <ul><li><a href = "#chunk"><code>chunk</code></a></li>
|
||||||
<li><a href = "#compact"><code>compact</code></a></li>
|
<li><a href = "#compact"><code>compact</code></a></li>
|
||||||
<li><a href = "#count_occurences"><code>count_occurences</code></a></li>
|
<li><a href = "#count_occurences"><code>count_occurences</code></a></li>
|
||||||
<li><a href = "#deep_flatten"><code>deep_flatten</code></a></li>
|
<li><a href = "#deep_flatten"><code>deep_flatten</code></a></li>
|
||||||
@ -23,12 +23,12 @@
|
|||||||
|
|
||||||
### :scroll: String
|
### :scroll: String
|
||||||
|
|
||||||
<ul><li><a href = "#count_vowels"><code>count_vowels</code></a></li>
|
<details><summary>View contents<summary> <ul><li><a href = "#count_vowels"><code>count_vowels</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
### :heavy_division_sign: Math
|
### :heavy_division_sign: Math
|
||||||
|
|
||||||
<ul><li><a href = "#gcd"><code>gcd</code></a></li>
|
<details><summary>View contents<summary> <ul><li><a href = "#gcd"><code>gcd</code></a></li>
|
||||||
<li><a href = "#lcm"><code>lcm</code></a></li>
|
<li><a href = "#lcm"><code>lcm</code></a></li>
|
||||||
<li><a href = "#max_n"><code>max_n</code></a></li>
|
<li><a href = "#max_n"><code>max_n</code></a></li>
|
||||||
<li><a href = "#min_n"><code>min_n</code></a></li>
|
<li><a href = "#min_n"><code>min_n</code></a></li>
|
||||||
|
|||||||
@ -36,7 +36,7 @@ toAppend = ''
|
|||||||
tag_dict = tagger()
|
tag_dict = tagger()
|
||||||
toAppend += '## Table of Content \n'
|
toAppend += '## Table of Content \n'
|
||||||
for category in tag_dict:
|
for category in tag_dict:
|
||||||
toAppend = toAppend + '### ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n <ul>'
|
toAppend = toAppend + '### ' + EMOJIS[category] + ' ' + title_case(category) +'\n\n<details><summary>View contents<summary> <ul>'
|
||||||
for snippet in tag_dict[category]:
|
for snippet in tag_dict[category]:
|
||||||
toAppend += f'<li><a href = "#{snippet}"><code>{snippet}</code></a></li>\n'
|
toAppend += f'<li><a href = "#{snippet}"><code>{snippet}</code></a></li>\n'
|
||||||
toAppend += '</ul>\n\n'
|
toAppend += '</ul>\n\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user