I have some Markdown README's with headings containing . and even { & }. The links generated from this extension are invalid for such cases. The fix would be to remove these special characters such that a heading like # {MAJOR} gets translated to [some_link](#major), and a heading like ## v2.3.4.2f589e85 gets translated to [some_other_link](#v2342f589e85).