summaryrefslogtreecommitdiff
path: root/snippets/html-ts-mode
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
committerCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
commit9ed05f388d3cbd16a72f9ace130d1f59233354e7 (patch)
tree81853ec9826707f3217388913f0c3123d22ea0cb /snippets/html-ts-mode
parent61dfcb7aef61c976c4446f1e089e1e3f578edf48 (diff)
chore(yasnippet): move snippets into emacs.d for source control
Relocate snippets-dir from ~/sync/org/snippets/ to ~/.emacs.d/snippets/ and restore 28 snippet files from backup.
Diffstat (limited to 'snippets/html-ts-mode')
-rw-r--r--snippets/html-ts-mode/+new-snippet+5
-rw-r--r--snippets/html-ts-mode/footnote5
-rw-r--r--snippets/html-ts-mode/footnote-ref7
3 files changed, 17 insertions, 0 deletions
diff --git a/snippets/html-ts-mode/+new-snippet+ b/snippets/html-ts-mode/+new-snippet+
new file mode 100644
index 00000000..aa6fb2bf
--- /dev/null
+++ b/snippets/html-ts-mode/+new-snippet+
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: link
+# key: <link
+# --
+<a href="$0" target="_blank" rel="noopener noreferrer"> \ No newline at end of file
diff --git a/snippets/html-ts-mode/footnote b/snippets/html-ts-mode/footnote
new file mode 100644
index 00000000..aa6a7213
--- /dev/null
+++ b/snippets/html-ts-mode/footnote
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: footnote
+# key:
+# --
+<sup><a href="#fn$1" id="ref$2">[$3]</a></sup> \ No newline at end of file
diff --git a/snippets/html-ts-mode/footnote-ref b/snippets/html-ts-mode/footnote-ref
new file mode 100644
index 00000000..551d6d67
--- /dev/null
+++ b/snippets/html-ts-mode/footnote-ref
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: footnote-ref
+# key:
+# --
+<li id="fn$0">
+ <a href="#ref$1">↩︎</a>
+</li>