Slugify rules for Gitea
Overview
Gitea has been using goldmarkopen in new window with their own slugify method since version 1.11 released on 2020-02-10.
References
https://docs.gitea.io/en-us/faq/#why-is-my-markdown-brokenopen in new window
https://pkg.go.dev/code.gitea.io/gitea/modules/markup/markdown?tab=importsopen in new window
IDs
allows you to change logics that are related to element id (ex: Auto heading id generation).https://github.com/yuin/goldmark/issues/56#issuecomment-562963529open in new window