alanwalk / markdown-toc

MarkdownTOC(Table Of Contents) Plugin for Visual Studio Code.
MIT License
141 stars 111 forks source link

Generated Link not set toLowerCase #81

Closed mpolinowski closed 5 years ago

mpolinowski commented 5 years ago

I am not sure which Update changed this behaviour. But before every generated link was in lower case:

- [Introduction](#introduction)
# Introduction

Now, this is no longer so:

- [Introduction](#Introduction)
# Introduction

The anchor tags are generated automatically (toLowerCase) in my project - so this change broke all my ToC's.

Is this a bug? Or was it changed as a Feature? Can it be exposed to Addon Settings ?

mpolinowski commented 5 years ago

This is really an annoying bug :)

You cannot even override it by hand - I deactivated update on save but it still updates the corrected ToC when I save the file.

So the ToC is generated correctly but once I save the file it gets updated:

toc

huntertran commented 5 years ago

Hi, could you please open an issue here? Thanks

mpolinowski commented 5 years ago

Hi,

can someone confirm that the issue was fixed? I just noticed that it was working today and re-saved all my markdown pages. All back to normal for me.

mpolinowski commented 5 years ago

Ok, I tested it with a couple of projects and so far it is working again. No idea what changed. But I am closing this issue for now.