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
This library is "slugification" agnostic. id est we don't decide what is the right or wrong way to make your links prettier. The default behavior is to just take the header content and encodeURIComponent it. That said, in the early days we leveraged the slugify library and it's expected output for your input is header-and-header, but we don't expect it as a dependency anymore.
Developers are free to decide what strategy is better for'em because they know more their application use cases than us. So, just pass a slugify function that tastes good for you.
Bug report
When creating headers with special characters between words, is it expected that the special character will be changed to "-"
Steps to reproduce
Create duplicated Headers (same name) inside a markdown file
What is expected?
The anchor link for the header should be:
What is actually happening?
It is generating the following anchor links:
The text was updated successfully, but these errors were encountered: