Skip to main content

snippets: convert {number}x to use the multiplication symbol

ID
f358e31
date
2026-11-09 08:06:54+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
f705faa
message
snippets: convert {number}x to use the multiplication symbol
changed files
1 file, 11 additions

Changed files

create_snippets.py (9112 → 9287)

diff --git a/create_snippets.py b/create_snippets.py
index 2ea2026..5314836 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -222,6 +222,17 @@ SNIPPETS = {
     ";times": "×",
     ";tm": "™",
     ";zwsp": "\u200b",  # zero-width space
+    
+    "0x": "0×",
+    "1x": "1×",
+    "2x": "2×",
+    "3x": "3×",
+    "4x": "4×",
+    "5x": "5×",
+    "6x": "6×",
+    "7x": "7×",
+    "8x": "8×",
+    "9x": "9×",
 
     # This snippet draws a basic tree with Unicode characters, which
     # I can copy/paste to build a more complex tree by hand.