blob: 34c7bda73059cfd772a064df592ed362aecf8d69 (
plain) (
blame)
1
2
3
4
5
6
|
" Add an underline under a heading
function! markdown#Heading(char) abort
let heading = getline('.')
let underline = repeat(a:char, strlen(heading))
call append(line('.'), underline)
endfunction
|