feat(emacs): ox-html additions
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
;;; syd-org.el -*- lexical-binding: t; -*-
|
;;; 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
|
(with-eval-after-load 'org
|
||||||
(syd-add-hook 'org-tab-first-hook
|
(syd-add-hook 'org-tab-first-hook
|
||||||
(defun syd-org-cycle-only-current-subtree-h (&optional arg)
|
(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
|
pre
|
||||||
{ line-height: normal
|
{ line-height: normal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.org-svg
|
||||||
|
{ max-height: 100%
|
||||||
|
; max-width: 100%
|
||||||
|
}
|
||||||
</style>"
|
</style>"
|
||||||
"A default style for Org HTML exports.")
|
"A default style for Org HTML exports.")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user