diff options
author | Amin Bandali <aminb@gnu.org> | 2018-06-27 00:25:58 -0400 |
---|---|---|
committer | Amin Bandali <aminb@gnu.org> | 2018-06-27 00:25:58 -0400 |
commit | 5c2eaaf178d175d275109c7b23451f8a0771c574 (patch) | |
tree | 93fccd8e7ac1780295154e2ff5607a5d81489578 | |
parent | 20ead030f0d3c385710d0a8004e40fb4705e1ece (diff) | |
download | configs-5c2eaaf178d175d275109c7b23451f8a0771c574.tar.gz configs-5c2eaaf178d175d275109c7b23451f8a0771c574.tar.xz configs-5c2eaaf178d175d275109c7b23451f8a0771c574.zip |
[emacs] org: export html5, add htmlize for syntax highlighting
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.org | 5 | ||||
m--------- | lib/htmlize | 0 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 28eced6..a307055 100644 --- a/.gitmodules +++ b/.gitmodules @@ -79,6 +79,9 @@ [submodule "hlint-refactor"] path = lib/hlint-refactor url = git@github.com:mpickering/hlint-refactor-mode.git +[submodule "htmlize"] + path = lib/htmlize + url = git@github.com:hniksic/emacs-htmlize.git [submodule "ivy"] path = lib/ivy url = git@github.com:abo-abo/swiper.git @@ -876,8 +876,11 @@ In short, my favourite way of life. #+begin_src emacs-lisp (setq org-src-tab-acts-natively t org-src-preserve-indentation nil - org-edit-src-content-indentation 0) + org-edit-src-content-indentation 0 + org-html-doctype "html5" + org-html-html5-fancy t) (add-hook 'org-mode-hook 'org-indent-mode) +(use-package htmlize) #+end_src *** [[https://magit.vc/][Magit]] diff --git a/lib/htmlize b/lib/htmlize new file mode 160000 +Subproject 315a8f23cfd3e87642ff9e30ae3300c7a84244d |