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
{{ message }}
Repository navigation
Back ticks in titles (incorrectly?) converted to hypens #510
The problem is that I'm using marked-toc to convert this into the following markdown TOC (and then HTML via marked) which of course is now incompatible as that package just ignores the back ticks in the headers:
The naive solution is to override the heading renderer and generate ids in the same way marked-toc does.
See related issues #432#450. The problem extends far beyond leading/trailing slashes.
I think I proposed a reasonable solution in #456. Feel free to merge it. Notice that you can then override the heading renderer and possibly use uslug to generate id attributes.
Activity
Feder1co5oave commentedon Nov 16, 2014
I, too, rely heavily on hashes.
The naive solution is to override the
headingrenderer and generate ids in the same way marked-toc does.See related issues #432 #450. The problem extends far beyond leading/trailing slashes.
I think I proposed a reasonable solution in #456. Feel free to merge it. Notice that you can then override the heading renderer and possibly use
uslugto generate id attributes.F1LT3R commentedon Mar 10, 2015
+1 to fixing this out of the box
franciscop commentedon Jul 22, 2017
+1. I'd go a bit further and say that leading/trailing hyphens should be removed as well:
joshbruce commentedon Dec 25, 2017
#981