Fix a bug in how I use jack-html

This commit is contained in:
Howard Abrams 2024-04-29 15:35:53 -07:00
parent ff0ef354f7
commit 2c312afc37

View file

@ -3,7 +3,7 @@
#+date: 2020-09-18 #+date: 2020-09-18
#+tags: emacs org #+tags: emacs org
#+startup: inlineimages #+startup: inlineimages
#+lastmod: [2024-04-25 Thu] #+lastmod: [2024-04-29 Mon]
A literate programming file for configuring org-mode and those files. A literate programming file for configuring org-mode and those files.
@ -723,7 +723,9 @@ And Graphviz configuration using [[https://github.com/ppareit/graphviz-dot-mode]
Im not afraid of HTML, but I like the idea of doing my HTML work in a Lisp-like way using the [[https://github.com/tonyaldon/jack][jack-html project]]: Im not afraid of HTML, but I like the idea of doing my HTML work in a Lisp-like way using the [[https://github.com/tonyaldon/jack][jack-html project]]:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package jack) (use-package jack
:straight (:host github :repo "tonyaldon/jack")
:commands (jack-html))
#+end_src #+end_src
So the Lisp code: So the Lisp code:
@ -740,6 +742,9 @@ Splitting out HTML snippets is often a way that I can transfer org-formatted con
#+name: html-exporting #+name: html-exporting
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package jack
:after org
:config
(setq org-html-head-extra (setq org-html-head-extra
(jack-html `((:link (@ :rel "stylesheet" (jack-html `((:link (@ :rel "stylesheet"
:type "text/css" :type "text/css"
@ -761,7 +766,7 @@ Splitting out HTML snippets is often a way that I can transfer org-formatted con
" a:link { color: lightblue }" " a:link { color: lightblue }"
" a:visited { color: violet }" " a:visited { color: violet }"
"}") "}")
hard-newline))))) hard-newline))))))
#+end_src #+end_src
** Focused Work ** Focused Work
:LOGBOOK: :LOGBOOK: