A generated TOC entry will have a lowercased fragement.
e.g. given markdown
## Hello2
markdown-toc will generate markdown
- [Hello2](#hello2)
Some markdown renderers will not match the lowercase hello2 to the Capitalized string in the h2 header, e.g. <h2>Hello2</h2>. Clicking the Table Of Contents entry Hello2 will do nothing.
Solution
Add an option to disable lowercasing.
Something like lowercase:1 would enable lowercasing the fragment. lowercase:0 would disable lowercasing the fragement.
Problem
A generated TOC entry will have a lowercased fragement.
e.g. given markdown
markdown-toc
will generate markdownSome markdown renderers will not match the lowercase
hello2
to the Capitalized string in theh2
header, e.g.<h2>Hello2</h2>
. Clicking the Table Of Contents entryHello2
will do nothing.Solution
Add an option to disable lowercasing. Something like
lowercase:1
would enable lowercasing the fragment.lowercase:0
would disable lowercasing the fragement.e.g.
or