From 0ae65fea85e429ef21c5beb3feadd5dcc35c296c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Fri, 28 Mar 2025 20:38:27 +0000 Subject: [PATCH] TCG functions --- custom/colors.el | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 custom/colors.el diff --git a/custom/colors.el b/custom/colors.el new file mode 100644 index 0000000..b4ac121 --- /dev/null +++ b/custom/colors.el @@ -0,0 +1,7 @@ +(defun cardimgs (start end) + "Insert HTML string for card images" + (interactive "r") + (setq original (buffer-substring (region-beginning) (region-end))) + (delete-region start end) + (setq imgs (replace-regexp-in-string ", " ".gif\">")))