aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/markdown.snippets
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
commite573b3020c032400eed60b649a2cbf55266e6bb0 (patch)
tree8f572394ac8433529c7a8e70d160a2fbe8268b4e /vim/bundle/vim-snippets/snippets/markdown.snippets
parentb8c667bd64b3edd38d56c63c5bd1db53a23b4499 (diff)
downloadmyconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.gz
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.bz2
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.zip
Add current configurations from old repository
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/markdown.snippets')
-rw-r--r--vim/bundle/vim-snippets/snippets/markdown.snippets139
1 files changed, 139 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/markdown.snippets b/vim/bundle/vim-snippets/snippets/markdown.snippets
new file mode 100644
index 0000000..d258aa8
--- /dev/null
+++ b/vim/bundle/vim-snippets/snippets/markdown.snippets
@@ -0,0 +1,139 @@
+# Markdown
+
+# Includes octopress (http://octopress.org/) snippets
+
+# The suffix `c` stands for "Clipboard".
+
+snippet [
+ [${1:text}](http://${2:address})
+snippet [*
+ [${1:link}](${2:`@*`})
+snippet [c
+ [${1:link}](${2:`@+`})
+snippet ["
+ [${1:text}](http://${2:address} "${3:title}")
+snippet ["*
+ [${1:link}](${2:`@*`} "${3:title}")
+snippet ["c
+ [${1:link}](${2:`@+`} "${3:title}")
+snippet [:
+ [${1:id}]: http://${2:url}
+
+snippet [:*
+ [${1:id}]: ${2:`@*`}
+
+snippet [:c
+ [${1:id}]: ${2:`@+`}
+
+snippet [:"
+ [${1:id}]: http://${2:url} "${3:title}"
+
+snippet [:"*
+ [${1:id}]: ${2:`@*`} "${3:title}"
+
+snippet [:"c
+ [${1:id}]: ${2:`@+`} "${3:title}"
+
+snippet ![
+ ![${1:alttext}](${2:/images/image.jpg})
+snippet ![*
+ ![${1:alt}](${2:`@*`})
+snippet ![c
+ ![${1:alt}](${2:`@+`})
+snippet !["
+ ![${1:alttext}](${2:/images/image.jpg} "${3:title}")
+snippet !["*
+ ![${1:alt}](${2:`@*`} "${3:title}")
+snippet !["c
+ ![${1:alt}](${2:`@+`} "${3:title}")
+snippet ![:
+ ![${1:id}]: ${2:url}
+
+snippet ![:*
+ ![${1:id}]: ${2:`@*`}
+
+snippet ![:"
+ ![${1:id}]: ${2:url} "${3:title}"
+
+snippet ![:"*
+ ![${1:id}]: ${2:`@*`} "${3:title}"
+
+snippet ![:"c
+ ![${1:id}]: ${2:`@+`} "${3:title}"
+
+snippet <
+ <http://${1:url}>
+snippet <*
+ <`@*`>
+snippet <c
+ <`@+`>
+snippet **
+ **${1:bold}**
+snippet __
+ __${1:bold}__
+snippet ===
+ `repeat('=', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
+
+ ${0}
+snippet -
+ - ${0}
+snippet ---
+ `repeat('-', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
+
+ ${0}
+
+snippet blockquote
+ {% blockquote %}
+ ${0:quote}
+ {% endblockquote %}
+
+snippet blockquote-author
+ {% blockquote ${1:author}, ${2:title} %}
+ ${0:quote}
+ {% endblockquote %}
+
+snippet blockquote-link
+ {% blockquote ${1:author} ${2:URL} ${3:link_text} %}
+ ${0:quote}
+ {% endblockquote %}
+
+snippet ```
+ \`\`\`
+ ${1:code}
+ \`\`\`
+
+# Language.
+snippet ```l
+ \`\`\`${1:language}
+ ${2:code}
+ \`\`\`
+
+snippet codeblock-short
+ {% codeblock %}
+ ${0:code_snippet}
+ {% endcodeblock %}
+
+snippet codeblock-full
+ {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}
+ ${0:code_snippet}
+ {% endcodeblock %}
+
+snippet gist-full
+ {% gist ${1:gist_id} ${0:filename} %}
+
+snippet gist-short
+ {% gist ${0:gist_id} %}
+
+snippet img
+ {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${0:alt_text} %}
+
+snippet youtube
+ {% youtube ${0:video_id} %}
+
+# 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}
+ {% endpullquote %}