feat(emacs): ox-html additions

This commit is contained in:
Madeleine Sydney
2025-03-04 03:10:59 -07:00
parent 79300c5c95
commit 449cc400e4

View File

@@ -1,5 +1,9 @@
;;; syd-org.el -*- lexical-binding: t; -*-
;; Optional Org-mode dependency used for highlighting source code in HTML
;; exports.
(use-package htmlize)
(with-eval-after-load 'org
(syd-add-hook 'org-tab-first-hook
(defun syd-org-cycle-only-current-subtree-h (&optional arg)
@@ -278,6 +282,11 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
pre
{ line-height: normal
}
.org-svg
{ max-height: 100%
; max-width: 100%
}
</style>"
"A default style for Org HTML exports.")