summaryrefslogtreecommitdiff
path: root/luasnip_snippets/markdown.json
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
commitf1eabbaa1b4ff1836d0ee8335b31d009203f3775 (patch)
treebbe77eacaef8ab8a5999e517c3006973c9e3e44c /luasnip_snippets/markdown.json
parent823302458ec6c53455a3f34674415c43ce6a3187 (diff)
fixed zathura integration with texlab using nvim-texlabconfig
Diffstat (limited to 'luasnip_snippets/markdown.json')
-rw-r--r--luasnip_snippets/markdown.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/luasnip_snippets/markdown.json b/luasnip_snippets/markdown.json
new file mode 100644
index 0000000..e5e4ef0
--- /dev/null
+++ b/luasnip_snippets/markdown.json
@@ -0,0 +1,54 @@
+{
+ "sec": {
+ "prefix": "sec",
+ "description": "Section",
+ "body": [
+ "# ${1:Section Name} #",
+ "$0"
+ ],
+ "luasnip": {
+ "priority": -50
+ }
+ },
+ "ssec": {
+ "prefix": "ssec",
+ "description": "Sub Section",
+ "body": [
+ "## ${1:Section Name} ##",
+ "$0"
+ ]
+ },
+ "sssec": {
+ "prefix": "sssec",
+ "description": "SubSub Section",
+ "body": [
+ "### ${1:Section Name} ###",
+ "$0"
+ ]
+ },
+ "par": {
+ "prefix": "par",
+ "description": "Paragraph",
+ "body": [
+ "#### ${1:Paragraph Name} ####",
+ "$0"
+ ]
+ },
+ "spar": {
+ "prefix": "spar",
+ "description": "Paragraph",
+ "body": [
+ "##### ${1:Paragraph Name} #####",
+ "$0"
+ ]
+ },
+ "detail": {
+ "prefix": "detail",
+ "description": "Disclosure",
+ "body": [
+ "<details${3: open=\"\"}>",
+ " ${1:<summary>$2</summary>}$0",
+ "</details>"
+ ]
+ }
+}