Merge pull request #629 from gpanders/dev

Allow customization of header level of TOC
This commit is contained in:
Rane Brown
2019-03-18 17:20:30 -06:00
committed by GitHub
6 changed files with 26 additions and 9 deletions

View File

@ -1098,7 +1098,7 @@ function! s:process_tag_h(line, id)
else
let h_part = '<div id="'.h_id.'" class="toc"><h1 id="'.h_id.'"'
let h_part = '<div id="'.h_id.'" class="toc"><h'.h_level.' id="'.h_id.'"'
endif