/usr/share/gedit/plugins/snippets/mallard.xml is in gedit-common 3.4.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | <?xml version='1.0' encoding='utf-8'?>
<snippets language="mallard">
<snippet id="app">
<text><![CDATA[<app>${1:Application's name}</app>$0]]></text>
<tag>app</tag>
<description>app</description>
</snippet>
<snippet id="cdata">
<text><![CDATA[<![CDATA[$0]]]]><![CDATA[>]]></text>
<tag>cdata</tag>
<description>cdata</description>
</snippet>
<snippet id="cite">
<text><![CDATA[<cite>${1:Joe Example}</cite>]]></text>
<tag>cite</tag>
<description>cite</description>
</snippet>
<snippet id="cited">
<text><![CDATA[<cite date="$1">${2:Joe Example}</cite>]]></text>
<tag>cited</tag>
<description>cite</description>
</snippet>
<snippet id="desc">
<text><![CDATA[<desc>${1:Description.}</desc>]]></text>
<tag>desc</tag>
<description>desc</description>
</snippet>
<snippet id="em">
<text><![CDATA[<em>$1</em>]]></text>
<tag>em</tag>
<description>em</description>
</snippet>
<snippet id="figure">
<text><![CDATA[<figure>
<title>${1:Title}</title>
<desc>${2:Short description.}</desc>
<media type="${3:image}" mime="${5:image/png}" src="${4:figures/image.png}" >
</media>
</figure>]]></text>
<tag>figure</tag>
<description>figure</description>
</snippet>
<snippet id="file">
<text><![CDATA[<file>${0:filename}</file>]]></text>
<tag>file</tag>
<description>file</description>
</snippet>
<snippet id="g">
<text><![CDATA[<gui>$1</gui>$2]]></text>
<tag>g</tag>
<description>gui</description>
</snippet>
<snippet id="q">
<text><![CDATA[<guiseq><gui>$1</gui><gui>$2</gui></guiseq>]]></text>
<tag>q</tag>
<description>guiseq</description>
</snippet>
<snippet id="http">
<text><![CDATA[<link href="http://${1:url}/">${2}</link>]]></text>
<tag>http</tag>
<description>http</description>
</snippet>
<snippet id="item">
<text><![CDATA[<item><p>$0</p></item>]]></text>
<tag>item</tag>
<description>item</description>
</snippet>
<snippet id="key">
<text><![CDATA[<key>$1</key>]]></text>
<tag>key</tag>
<description>key</description>
</snippet>
<snippet id="keys">
<text><![CDATA[<keyseq><key>$1</key><key>$2</key></keyseq>]]></text>
<tag>keys</tag>
<description>keystroke</description>
</snippet>
<snippet id="link">
<text><![CDATA[<link type="${1:[topic,guide,seealso,next]}" xref="${2:index}"/>]]></text>
<tag>link</tag>
<description>link</description>
</snippet>
<snippet id="list">
<text><![CDATA[<list>
<title>${1:Title}</title>
<item><p>${2}</p></item>
<item><p>${3}</p></item>
</list>]]></text>
<tag>list</tag>
<description>list</description>
</snippet>
<snippet id="listing">
<text><![CDATA[<listing>
<title>${1:Title}</title>
<desc>${2:Short description.}</desc>
<code><![CDATA[
$0
]]]]><![CDATA[></code>
</listing>]]></text>
<tag>listing</tag>
<description>listing</description>
</snippet>
<snippet id="note">
<text><![CDATA[<note style="${1:[advanced,bug,important,tip,warning]}">
<p>
$0
</p>
</note>]]></text>
<tag>note</tag>
<description>note</description>
</snippet>
<snippet id="num">
<text><![CDATA[<list type="numbered">
<item><p>$1</p></item>
<item><p>$2</p></item>
<item><p>$3</p></item>
</list>]]></text>
<tag>num</tag>
<description>numbered list</description>
</snippet>
<snippet id="page">
<text><![CDATA[<page xmlns="http://projectmallard.org/1.0/"
type="${1:[topic,guide,seealso,next]}" style="${2:task}"
id="${3:id}">
<info>
<desc>${4:Short description}</desc>
<revision pkgversion="${5:program_version}" version="${6:document_version}" date="$<7: import datetime as d; return d.date.isoformat(d.date.today())>" status="${8:[stub,incomplete,draft,outdated,review,candidate,final]}"/>
<credit type="author">
<name>$<9:
import pwd, os
try:
return pwd.getpwuid(os.getuid()).pw_gecos.split(',')[0]
except KeyError:
return 'Joe Example' ></name>
<email>$<10:
import os
return os.getenv('EMAIL', 'joe@example.com') ></email>
</credit>
</info>
$0
</page>]]></text>
<tag>page</tag>
<description>page</description>
</snippet>
<snippet id="/">
<text><![CDATA[</p>]]></text>
<tag>/</tag>
<description>p close</description>
</snippet>
<snippet id="p">
<text><![CDATA[<p>]]></text>
<tag>p</tag>
<description>p open</description>
</snippet>
<snippet id="quote">
<text><![CDATA[<quote>
<p>$0</p>
</quote>]]></text>
<tag>quote</tag>
<description>quote</description>
</snippet>
<snippet id="section">
<text><![CDATA[<section id="${1}">
<title>${2:Section Title}</title>
<p>$0</p>
</section>]]></text>
<tag>section</tag>
<description>section</description>
</snippet>
<snippet id="steps">
<text><![CDATA[<steps>
<item><p>$0</p></item>
</steps>]]></text>
<tag>steps</tag>
<description>steps</description>
</snippet>
<snippet id="terms">
<text><![CDATA[<terms>
<title>${1:Title}</title>
<item><p>$2</p></item>
</terms>]]></text>
<tag>terms</tag>
<description>terms</description>
</snippet>
<snippet id="tip">
<text><![CDATA[<note style="tip">
<p>$1</p>
</note> ]]></text>
<tag>tip</tag>
<description>tip note</description>
</snippet>
<snippet id="title">
<text><![CDATA[<title>${1:Title}</title>]]></text>
<tag>title</tag>
<description>title</description>
</snippet>
<snippet id="warn">
<text><![CDATA[<note style="warning">
<p>$1</p>
</note> ]]></text>
<tag>warn</tag>
<description>warning note</description>
</snippet>
<snippet id="elink">
<text><![CDATA[<link href="http://${1:url}/">${2}</link>$0]]></text>
<tag>elink</tag>
<description>link</description>
</snippet>
<snippet id="years">
<text><![CDATA[<years>$<1: import datetime as d; return d.date.today().strftime('%Y')></years>]]></text>
<tag>years</tag>
<description>years</description>
</snippet>
<snippet id="sel href">
<text><![CDATA[<link href="$1">${2:$GEDIT_SELECTED_TEXT}</link>]]></text>
<accelerator><![CDATA[<Control>l]]></accelerator>
<description>Wrap selection as link</description>
</snippet>
<snippet id="sel list">
<text><![CDATA[<item><p>${1:$GEDIT_SELECTED_TEXT}</p></item>]]></text>
<accelerator><![CDATA[<Control>t]]></accelerator>
<description>Wrap selection as list item</description>
</snippet>
</snippets>
|