Renamed references
This commit is contained in:
22
lisp/macros.el
Executable file
22
lisp/macros.el
Executable 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>@@")
|
||||
))
|
||||
Reference in New Issue
Block a user