2011-06-20 13:40:28 -04:00
|
|
|
# Markdown
|
|
|
|
|
2012-05-11 12:51:19 -04:00
|
|
|
# Includes octopress (http://octopress.org/) snippets
|
|
|
|
|
2011-06-20 13:40:28 -04:00
|
|
|
snippet [
|
2013-07-25 17:17:32 -04:00
|
|
|
[${1:text}](http://${2:address} "${0:title}")
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet [*
|
2013-07-25 17:17:32 -04:00
|
|
|
[${1:link}](${2:`@*`} "${3:title}")
|
2011-09-14 18:25:29 -04:00
|
|
|
|
|
|
|
snippet [:
|
2013-07-25 17:17:32 -04:00
|
|
|
[${1:id}]: http://${2:url} "${0:title}"
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet [:*
|
2013-07-25 17:17:32 -04:00
|
|
|
[${1:id}]: ${2:`@*`} "${0:title}"
|
2011-09-14 18:25:29 -04:00
|
|
|
|
2011-06-20 13:40:28 -04:00
|
|
|
snippet ![
|
2013-07-25 17:17:32 -04:00
|
|
|
![${1:alttext}](${2:/images/image.jpg} "${0:title}")
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet ![*
|
2013-07-25 17:17:32 -04:00
|
|
|
![${1:alt}](${2:`@*`} "${3:title}")
|
2011-09-14 18:25:29 -04:00
|
|
|
|
|
|
|
snippet ![:
|
2013-07-25 17:17:32 -04:00
|
|
|
![${1:id}]: ${2:url} "${0:title}"
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet ![:*
|
2013-07-25 17:17:32 -04:00
|
|
|
![${1:id}]: ${2:`@*`} "${0:title}"
|
2011-06-20 13:40:28 -04:00
|
|
|
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet ===
|
2013-08-03 21:52:18 -04:00
|
|
|
`repeat('=', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
|
2013-06-20 17:39:31 -04:00
|
|
|
|
2013-07-25 17:17:32 -04:00
|
|
|
${0}
|
2011-09-14 18:25:29 -04:00
|
|
|
snippet ---
|
2013-08-03 21:52:18 -04:00
|
|
|
`repeat('-', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
|
2013-06-20 17:39:31 -04:00
|
|
|
|
2013-07-25 17:17:32 -04:00
|
|
|
${0}
|
2012-05-11 12:51:19 -04:00
|
|
|
|
|
|
|
snippet blockquote
|
|
|
|
{% blockquote %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${0:quote}
|
2012-05-11 12:51:19 -04:00
|
|
|
{% endblockquote %}
|
|
|
|
|
|
|
|
snippet blockquote-author
|
|
|
|
{% blockquote ${1:author}, ${2:title} %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${0:quote}
|
2012-05-11 12:51:19 -04:00
|
|
|
{% endblockquote %}
|
|
|
|
|
|
|
|
snippet blockquote-link
|
|
|
|
{% blockquote ${1:author} ${2:URL} ${3:link_text} %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${0:quote}
|
2012-05-11 12:51:19 -04:00
|
|
|
{% endblockquote %}
|
|
|
|
|
2014-11-20 13:17:18 -05:00
|
|
|
snippet ```
|
|
|
|
\`\`\`
|
|
|
|
${1:code}
|
|
|
|
\`\`\`
|
|
|
|
|
|
|
|
# Language.
|
|
|
|
snippet ```l
|
|
|
|
\`\`\`${1:language}
|
|
|
|
${2:code}
|
|
|
|
\`\`\`
|
2012-05-11 12:51:19 -04:00
|
|
|
|
|
|
|
snippet codeblock-short
|
|
|
|
{% codeblock %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${0:code_snippet}
|
2012-05-11 12:51:19 -04:00
|
|
|
{% endcodeblock %}
|
|
|
|
|
|
|
|
snippet codeblock-full
|
|
|
|
{% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${0:code_snippet}
|
2012-05-11 12:51:19 -04:00
|
|
|
{% endcodeblock %}
|
|
|
|
|
|
|
|
snippet gist-full
|
2013-07-25 17:17:32 -04:00
|
|
|
{% gist ${1:gist_id} ${0:filename} %}
|
2012-05-11 12:51:19 -04:00
|
|
|
|
|
|
|
snippet gist-short
|
2013-07-25 17:17:32 -04:00
|
|
|
{% gist ${0:gist_id} %}
|
2012-05-11 12:51:19 -04:00
|
|
|
|
|
|
|
snippet img
|
2013-07-25 17:17:32 -04:00
|
|
|
{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${0:alt_text} %}
|
2012-05-11 12:51:19 -04:00
|
|
|
|
|
|
|
snippet youtube
|
2013-07-25 17:17:32 -04:00
|
|
|
{% youtube ${0:video_id} %}
|
2012-05-11 20:30:24 -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 %}
|
2013-07-25 17:17:32 -04:00
|
|
|
${1:text} {" ${2:quote} "} ${0:text}
|
2012-05-11 20:30:24 -04:00
|
|
|
{% endpullquote %}
|