You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do lower case comparisons because some mobile browsers and older browsers, ids are case insensitive. So, in order to prevent id duplication (and weird issues), we lower case the id attribute value.
Also, Github, and most markdown implementations lowercase generated ids
I agree that comparing case-insensitive by default is a good idea. However, in my use-case, I need the case-sensitive IDs, thus I'm asking for having an option to turn off the conversion to lowercase.
Code in https://github.com/showdownjs/showdown/blob/develop/src/subParsers/makehtml/headers.js#L95 and following lines always applies
toLowerCase()
to the header ID.I'd like to have an option to not make the IDs lowercase (as some tools, e.g. Boostnote, do not change case of the header IDs).
The text was updated successfully, but these errors were encountered: