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} ${0:quote}
{% endblockquote %} {% endblockquote %}
snippet bt-codeblock-short snippet ```
``` \`\`\`
${0:code_snippet} ${1:code}
``` \`\`\`
snippet bt-codeblock-full # Language.
``` ${1:language} ${2:title} ${3:URL} ${4:link_text} snippet ```l
${0:code_snippet} \`\`\`${1:language}
``` ${2:code}
\`\`\`
snippet codeblock-short snippet codeblock-short
{% codeblock %} {% codeblock %}