Skip to content

Commit

Permalink
Fix markdown fenced code blocks.
Browse files Browse the repository at this point in the history
Broken because backticks were interpreted as vim code execution.

Also simplified the trigger which was too long and unintuitive.
  • Loading branch information
cirosantilli committed Nov 20, 2014
1 parent 8a1de61 commit fbbe71e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions snippets/markdown.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,16 @@ snippet blockquote-link
${0:quote}
{% endblockquote %}

snippet bt-codeblock-short
```
${0:code_snippet}
```

snippet bt-codeblock-full
``` ${1:language} ${2:title} ${3:URL} ${4:link_text}
${0:code_snippet}
```
snippet ```
\`\`\`
${1:code}
\`\`\`

# Language.
snippet ```l
\`\`\`${1:language}
${2:code}
\`\`\`

snippet codeblock-short
{% codeblock %}
Expand Down

0 comments on commit fbbe71e

Please sign in to comment.