Skip to main content

snippets: add shortcuts for !a (anchor tag) and !p (paragraph tag)

ID
0392c14
date
2026-08-17 17:03:26+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
25ac817
message
snippets: add shortcuts for !a (anchor tag) and !p (paragraph tag)
changed files
1 file, 2 additions

Changed files

create_snippets.py (8989 → 9072)

diff --git a/create_snippets.py b/create_snippets.py
index aeb26fd..1fd978e 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -20,7 +20,9 @@ def read(name: str) -> str:
 
 # fmt: off
 SNIPPETS = {
+    "!a": '<a href="{clipboard}">{clipboard}</a>',
     "!bq": "<blockquote>{clipboard}</blockquote>",
+    "!p": "<p>{clipboard}</p>",
 
     # =========================
     # Get the current date/time