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>@@")
|
||||
))
|
||||
@@ -1,6 +1,6 @@
|
||||
(require 'ert)
|
||||
(require 'ox-html)
|
||||
(load-file "~/master-folder/org_files/org_roam/macros.el")
|
||||
(load-file "~/master-folder/org_files/org_roam/lisp/macros.el")
|
||||
|
||||
(defun helper/org-export-html (org-content)
|
||||
"Export ORG-CONTENT string to HTML and return the result."
|
||||
|
||||
Reference in New Issue
Block a user