Closed Jeavon closed 6 years ago
this should be removed (typically all the links at scriban were generated with Markdig) and looking at the markdig code:
it does keep only letter, digit, -
, _
but I don't see any .
So not sure exactly how did you get your result?
@xoofx I'm not sure if I'm doing something wrong then, perhaps the attached helps?
Checked we weren't doing anything to the heading before passing into Markdig
UseAdvancedExtensions().UseAutoIdentifiers(...)
will not work as the extension is already added by UseAdvancedExtensions
. Try to issue the UseAutoIdentifiers
before
That's got it, thanks so much @xoofx !
On GitHub
### Thing (v7.7.3+)
produces a anchor of#thing-v773
However when using markdig we get a anchor of#thing-v7.7.3
So when AutoIdentifierOptions.GitHub is used the dots should be removed from the anchors