1
0
Fork 0
mirror of synced 2024-12-27 00:53:20 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/markdown.snippets

88 lines
1.8 KiB
Text
Raw Normal View History

2012-08-16 23:41:25 -04:00
# Markdown
# Includes octopress (http://octopress.org/) snippets
snippet [
[${1:text}](http://${2:address} "${0:title}")
2012-08-16 23:41:25 -04:00
snippet [*
[${1:link}](${2:`@*`} "${3:title}")
2012-08-16 23:41:25 -04:00
snippet [:
[${1:id}]: http://${2:url} "${0:title}"
2012-08-16 23:41:25 -04:00
snippet [:*
[${1:id}]: ${2:`@*`} "${0:title}"
2012-08-16 23:41:25 -04:00
snippet ![
![${1:alttext}](${2:/images/image.jpg} "${0:title}")
2012-08-16 23:41:25 -04:00
snippet ![*
![${1:alt}](${2:`@*`} "${3:title}")
2012-08-16 23:41:25 -04:00
snippet ![:
![${1:id}]: ${2:url} "${0:title}"
2012-08-16 23:41:25 -04:00
snippet ![:*
![${1:id}]: ${2:`@*`} "${0:title}"
2012-08-16 23:41:25 -04:00
snippet ===
`repeat('=', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
2013-07-17 19:06:05 -04:00
${0}
2012-08-16 23:41:25 -04:00
snippet ---
`repeat('-', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
2013-07-17 19:06:05 -04:00
${0}
2012-08-16 23:41:25 -04:00
snippet blockquote
{% blockquote %}
${0:quote}
2012-08-16 23:41:25 -04:00
{% endblockquote %}
snippet blockquote-author
{% blockquote ${1:author}, ${2:title} %}
${0:quote}
2012-08-16 23:41:25 -04:00
{% endblockquote %}
snippet blockquote-link
{% blockquote ${1:author} ${2:URL} ${3:link_text} %}
${0:quote}
2012-08-16 23:41:25 -04:00
{% endblockquote %}
snippet bt-codeblock-short
```
${0:code_snippet}
2012-08-16 23:41:25 -04:00
```
snippet bt-codeblock-full
``` ${1:language} ${2:title} ${3:URL} ${4:link_text}
${0:code_snippet}
2012-08-16 23:41:25 -04:00
```
snippet codeblock-short
{% codeblock %}
${0:code_snippet}
2012-08-16 23:41:25 -04:00
{% endcodeblock %}
snippet codeblock-full
{% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}
${0:code_snippet}
2012-08-16 23:41:25 -04:00
{% endcodeblock %}
snippet gist-full
{% gist ${1:gist_id} ${0:filename} %}
2012-08-16 23:41:25 -04:00
snippet gist-short
{% gist ${0:gist_id} %}
2012-08-16 23:41:25 -04:00
snippet img
{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${0:alt_text} %}
2012-08-16 23:41:25 -04:00
snippet youtube
{% youtube ${0:video_id} %}
2012-08-16 23:41:25 -04:00
# The quote should appear only once in the text. It is inherently part of it.
# See http://octopress.org/docs/plugins/pullquote/ for more info.
snippet pullquote
{% pullquote %}
${1:text} {" ${2:quote} "} ${0:text}
2012-08-16 23:41:25 -04:00
{% endpullquote %}