tpope/vim-markdown — pull request #28 by satchmorun (2012-10-12 16:02:03+00:00)
Title: Highlighting Fenced Code Blocks

I wanted this, and perusing through the issues, found one about this: #17.

I took a look at vim-liquid and the `fenced_highlighting` branch - it looked like
the `fenced_highlighting` branch was accidentally trying to use a variable
from the liquid code (copy-paste error?).

I cleaned it up a little bit and it seems to work now. The commit message is below

Introduces a global variable: g:markdown_gfm_languages, which
should be set to a list of values:

let g:markdown_gfm_languages = ["ruby", "erb=eruby"]

Given those values, code blocks of the form "```ruby ```"
will be highlighted using the "ruby" highlighter.

Similarly, "```erb ```" will use the "eruby" highlighter.