nok / markdown-toc

Generate and update magically a table of contents based on the headlines of a parsed markdown file.
MIT License
68 stars 37 forks source link

Don't use hard tabs #107

Open keiranmraine opened 6 years ago

keiranmraine commented 6 years ago

Markdown linters don't like hard tabs by default. Could the code be changed to use spaces instead (converted to 4 spaces according to github flavour markdown spec)

joshbader commented 6 years ago

I would personally like an option for 2 spaces. Maybe make this a setting?

Merovex commented 4 years ago

I am running into a problem where the tab is creating a PRE block in the two markdown converters that I use.