Skip to content

Instantly share code, notes, and snippets.

@arcusfelis
Created July 15, 2012 12:42
Show Gist options
  • Select an option

  • Save arcusfelis/3116637 to your computer and use it in GitHub Desktop.

Select an option

Save arcusfelis/3116637 to your computer and use it in GitHub Desktop.
Fix underscore or asterisk inside an inline code block in Vim with markdown syntax highlighting
Add to /usr/share/vim/vim73/syntax/markdown.vim:
syn region markdownCode start=/^`\{3,3}\s*\w*\s*$/ end=/^`\{3,3}\s*$/
@philbert

philbert commented Aug 1, 2014

Copy link
Copy Markdown

Doesn't work for me with VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 12 2013 14:04:26)
Do I need a different version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment