naokazuterada / MarkdownTOC

SublimeText3 plugin which generate a table of contents (TOC) in a markdown document.
https://packagecontrol.io/packages/MarkdownTOC
MIT License
301 stars 48 forks source link

Remove the print statement #85

Closed math2001 closed 7 years ago

math2001 commented 7 years ago

Hello!

First of all: thanks for your plugin, it saves me a lot of time!

I have a problem though: there is a print statement that outputs 'cannot find TOC tags'. Each time I save a markdown file, this is printed.

It's quite annoying as I'm building [MarkdownLivePreview](), the console is always open, and I have set save_on_focus_lost to true.

I don't see any use in this message being logged into the console. Maybe add a setting? (I already tweaked the code 😄 ).

Thanks again for your plugin,

Matt

naokazuterada commented 7 years ago

Hi @math2001 ,

Thank you for your suggestion!

Now I removed logging in default. If you want to see logging, set logging option to true.

https://github.com/naokazuterada/MarkdownTOC/releases/tag/2.2.0

Please close this issue if it looks good to you.

I am glad to hear you used this plugin! 🤓

math2001 commented 7 years ago

Cool, using a settings is much better!

Thank you!