summaryrefslogtreecommitdiffstats
path: root/plugins/snippets/data/markdown.xml
blob: e49209b7e9b13b92e1bbd348dc173981308bda23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="Markdown">
  <snippet id="atx-header">
    <text><![CDATA[${1:#} ${2:Header} $1

]]></text>
    <tag>h</tag>
    <description>Header (atx-style)</description>
  </snippet>

  <snippet id="setext-header-1">
    <text><![CDATA[${1:Header}
===============

]]></text>
    <tag>Hs</tag>
    <description>Header 1 (setext-style)</description>
  </snippet>

  <snippet id="setext-header-2">
    <text><![CDATA[${1:Header}
---------------

]]></text>
    <tag>hs</tag>
    <description>Header 2 (setext-style)</description>
  </snippet>

  <snippet id="horizontal-rule">
    <text><![CDATA[***************

$0]]></text>
    <tag>hr</tag>
    <description>Horizontal Rule</description>
  </snippet>

  <snippet id="unordered-list">
    <text><![CDATA[* $1
* $2
* $3
* $4

]]></text>
    <tag>ul</tag>
    <description>Unordered List</description>
  </snippet>

  <snippet id="ordered-list">
    <text><![CDATA[1. $1
2. $2
3. $3
4. $4

]]></text>
    <tag>ol</tag>
    <description>Ordered List</description>
  </snippet>

  <snippet id="code-span">
    <text><![CDATA[\`${1:$GEDIT_SELECTED_TEXT}\`]]></text>
    <tag>code</tag>
    <description>Wrap Selection as Code Span</description>
    <accelerator><![CDATA[<Control><Alt>c]]></accelerator>
  </snippet>

  <snippet id="inline-link">
    <text><![CDATA[[${1:$GEDIT_SELECTED_TEXT}](${2:URL})]]></text>
    <tag>a</tag>
    <description>Wrap Selection as Inline Link</description>
    <accelerator><![CDATA[<Control><Alt>a]]></accelerator>
  </snippet>

  <snippet id="reference-link">
    <text><![CDATA[[${1:$GEDIT_SELECTED_TEXT}][${2:link label}]]]></text>
    <tag>aref</tag>
    <description>Wrap Selection as Reference Link</description>
    <accelerator><![CDATA[<Control><Alt>r]]></accelerator>
  </snippet>

  <snippet id="link-definition">
    <text><![CDATA[[${1:link label}]: ${2:URL}
]]></text>
    <tag>adef</tag>
    <description>Link Definition</description>
  </snippet>

  <snippet id="inline-image">
    <text><![CDATA[![${1:alt text}](${2:URL})]]></text>
    <tag>img</tag>
    <description>Inline Image</description>
  </snippet>

  <snippet id="reference-image">
    <text><![CDATA[![${1:alt text}][${2:image label}]]]></text>
    <tag>iref</tag>
    <description>Reference Image</description>
  </snippet>
</snippets>