From d00ca9f573405e61ea4af5a2101e7b697d6bd8be Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 20 Nov 2014 18:37:46 +0100 Subject: [PATCH] Markdown links from the clipboard --- snippets/markdown.snippets | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/snippets/markdown.snippets b/snippets/markdown.snippets index e93cee1..08cdb45 100644 --- a/snippets/markdown.snippets +++ b/snippets/markdown.snippets @@ -2,34 +2,50 @@ # 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} @@ -42,6 +58,9 @@ snippet ![:" snippet ![:"* ![${1:id}]: ${2:`@*`} "${3:title}" +snippet ![:"c + ![${1:id}]: ${2:`@+`} "${3:title}" + snippet < snippet <*