fix(emacs): default css lol
This commit is contained in:
@@ -102,6 +102,42 @@
|
|||||||
(use-package hide-mode-line
|
(use-package hide-mode-line
|
||||||
:hook (org-mode . hide-mode-line-mode))
|
:hook (org-mode . hide-mode-line-mode))
|
||||||
|
|
||||||
|
(defvar syd-org-default-css "
|
||||||
|
<style>
|
||||||
|
html
|
||||||
|
{ height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body
|
||||||
|
{ height: 100%
|
||||||
|
; padding: 0 10px
|
||||||
|
; line-height: 1.6
|
||||||
|
; font-size: 18px
|
||||||
|
; margin: 40px auto
|
||||||
|
; max-width: 650px
|
||||||
|
; color: #444
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3
|
||||||
|
{ line-height: 1.2
|
||||||
|
}
|
||||||
|
|
||||||
|
pre
|
||||||
|
{ line-height: normal
|
||||||
|
}
|
||||||
|
|
||||||
|
.org-svg
|
||||||
|
{ max-height: 100%
|
||||||
|
; max-width: 100%
|
||||||
|
}
|
||||||
|
|
||||||
|
.figure img
|
||||||
|
{ max-height: 100%
|
||||||
|
; max-width: 100%
|
||||||
|
}
|
||||||
|
</style>"
|
||||||
|
"A default style for Org HTML exports.")
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:defer-incrementally
|
:defer-incrementally
|
||||||
calendar find-func format-spec org-macs org-compat org-faces org-entities
|
calendar find-func format-spec org-macs org-compat org-faces org-entities
|
||||||
|
|||||||
Reference in New Issue
Block a user