Fix a bug in how I use jack-html
This commit is contained in:
parent
ff0ef354f7
commit
2c312afc37
1 changed files with 12 additions and 7 deletions
11
ha-org.org
11
ha-org.org
|
@ -3,7 +3,7 @@
|
|||
#+date: 2020-09-18
|
||||
#+tags: emacs org
|
||||
#+startup: inlineimages
|
||||
#+lastmod: [2024-04-25 Thu]
|
||||
#+lastmod: [2024-04-29 Mon]
|
||||
|
||||
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]
|
|||
|
||||
I’m 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
|
||||
(use-package jack)
|
||||
(use-package jack
|
||||
:straight (:host github :repo "tonyaldon/jack")
|
||||
:commands (jack-html))
|
||||
#+end_src
|
||||
|
||||
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
|
||||
#+begin_src emacs-lisp
|
||||
(use-package jack
|
||||
:after org
|
||||
:config
|
||||
(setq org-html-head-extra
|
||||
(jack-html `((:link (@ :rel "stylesheet"
|
||||
: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:visited { color: violet }"
|
||||
"}")
|
||||
hard-newline)))))
|
||||
hard-newline))))))
|
||||
#+end_src
|
||||
** Focused Work
|
||||
:LOGBOOK:
|
||||
|
|
Loading…
Reference in a new issue