vim-markdown
vim-markdown copied to clipboard
Allow getting markdown header
This MarkdownGetHeader() function is useful for adding the section of markdown you're currently in by seeing it in the status bar, eg with airline:
let g:airline_section_gutter = '%= %#hdrinfo#%{exists(''*MarkdownGetHeader'')?MarkdownGetHeader()[0:20]:""}'