Giter Club home page Giter Club logo

vim-flavored-markdown's Introduction

Vim-Flavored-Markdown

Add-on to Tim Pope's markdown.vim to highlight using Github Flavored Markdown.

a syntax plugin that extends the Tim Pope's markdown syntax file to recognize github code blocks like:

```yourLanguage
Some code
```

It also colors markdownCode blocks and in-lines as String, so they are more easily differentiable in your code.

Finally, it no longer highlights multiple underscores, i.e.:

_this_gets_highlighted_
but_this_does_not

Install

Best way - use Pathogen

If you use Pathogen, you can just clone this into your bundles

cd ~/.vim/bundle
git clone git://github.com/jtratner/vim-flavored-markdown.git

Otherwise, copy the file to your syntax folder

curl https://raw.githubusercontent.com/jtratner/vim-flavored-markdown/master/syntax/ghmarkdown.vim -o ~/.vim/syntax/ghmarkdown.vim

Use flavored-markdown by default

Add the following autocmd to your .vimrc:

augroup markdown
    au!
    au BufNewFile,BufRead *.md,*.markdown setlocal filetype=ghmarkdown
augroup END

See it in action

After installing, open up this readme, and you'll see fenced awesomeness.

License

MIT

Contributors to Vim-Flavored-Markdown

Vim-Flavored-Markdown author: Jeff Tratner (jtratner)

markdown.vim author: Tim Pope (tpope)

Along with all of the various contributors to markdown.vim

Thanks to @dankosaur, @knewter, and @Niggler for contributing.

vim-flavored-markdown's People

Contributors

jtratner avatar brandonmathis avatar dkuebric avatar kmwhite avatar session-zz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.