;; -----------------------------
;; 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>@@")
        ))
