diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:32:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:32:59 +0000 |
commit | adb934701975f6b0214475d1a8d0d1ce727b9d4d (patch) | |
tree | 5688c745d10b64c8856586864ec416a6bdae881d /plugins/snippets/data/markdown.xml | |
parent | Initial commit. (diff) | |
download | gedit-upstream.tar.xz gedit-upstream.zip |
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | plugins/snippets/data/markdown.xml | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/plugins/snippets/data/markdown.xml b/plugins/snippets/data/markdown.xml new file mode 100644 index 0000000..e49209b --- /dev/null +++ b/plugins/snippets/data/markdown.xml @@ -0,0 +1,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> |