mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
613 stars 59 forks source link

fix Redcarpet identation #80

Closed lambillda closed 2 years ago

lambillda commented 2 years ago
  1. Add double spaces after each contents to make sure subcontents show correct.
  2. Replace shiftwidth with 2(number), or when user custom their shiftwidth the subcontents won't show correct.