gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
740 stars 59 forks source link

#headings #5

Closed wolfv6 closed 10 years ago

wolfv6 commented 10 years ago

head1 is underlined. head2, head3, and head4 are rendered plain. Vim's native markdown highlights them all pink.

head1

head2

head3

head4

This #head1 is underlined, but should only be highlighted if on left margin.

Otherwise a very nice implementation of markdown.

gabrielelana commented 10 years ago

I can explain :smile:

this is not an header for Github markdown

this is an header for Github markdown

So, the first one it’s a bug… more or less, Github only auto links Github issues (aka # followed by a number), I don’t remember why I have decided to auto link all kinds of anchors, but I will fix it :wink:

gabrielelana commented 10 years ago

Fixed with d251571

wolfv6 commented 10 years ago

Thanks gebrielelana. That was fast! What is the procedure for updating vim-markdown on Vundle? I tried this from from Vim:

PluginInstall!

And I tried this from Command Prompt:

$ vim +'BundleInstall! vim-markdown' +qall

Neither one updated vim-markdown as far as I can tell. I am using Vim 7.4 with Vundle on Windows 7.

wilmoore commented 10 years ago

Try the following:

vim +PluginUpdate +qall

Alternatively, you should also be able to do it manually if you must.

% cd ~/.vim/bundle/vim-markdown
% git reset --hard
% git pull
wolfv6 commented 10 years ago

The first one updated vim-markdown from Command Prompt:

vim +PluginUpdate +qall

Maybe this should be in the https://github.com/gabrielelana/vim-markdown#installation ?

Thank you for your assistance. GitHub flavor of Markdown is nice; it makes editing prose in Vim a joy.