Renamed references

This commit is contained in:
2025-12-29 20:58:03 +00:00
parent 6e13e90e7d
commit 3739380ab8
4 changed files with 23 additions and 1 deletions

22
lisp/macros.el Executable file
View File

@@ -0,0 +1,22 @@
;; -----------------------------
;; Org export macros (batch-safe)
;; -----------------------------
(setq org-export-global-macros
'(
;; --- Tufte-style sidenotes ---
("sidenote"
. "@@html:<span class=\"sidenote\">$1</span>@@")
;; --- Single epigraph ---
("epigraph_single"
. "@@html:<blockquote class=\"epigraph\"><p>$1</p><footer>$2</footer></blockquote>@@")
;; --- Multi-line epigraph (optional) ---
("epigraph"
. "@@html:<blockquote class=\"epigraph\">$1</blockquote>@@")
;; --- New thought / drop cap ---
("newthought"
. "@@html:<span class=\"newthought\">$1</span>@@")
))