Fix markdown fenced code blocks.

Broken because backticks were interpreted as vim code execution.

Also simplified the trigger which was too long and unintuitive.
This commit is contained in:
Ciro Santilli 2014-11-20 19:17:18 +01:00
parent 8a1de6157a
commit fbbe71e534

View File

@ -46,15 +46,16 @@ snippet blockquote-link
${0:quote}
{% endblockquote %}
snippet bt-codeblock-short
```
${0:code_snippet}
```
snippet ```
\`\`\`
${1:code}
\`\`\`
snippet bt-codeblock-full
``` ${1:language} ${2:title} ${3:URL} ${4:link_text}
${0:code_snippet}
```
# Language.
snippet ```l
\`\`\`${1:language}
${2:code}
\`\`\`
snippet codeblock-short
{% codeblock %}