summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <aminb@gnu.org>2018-06-27 00:25:58 -0400
committerAmin Bandali <aminb@gnu.org>2018-06-27 00:25:58 -0400
commit5c2eaaf178d175d275109c7b23451f8a0771c574 (patch)
tree93fccd8e7ac1780295154e2ff5607a5d81489578
parent20ead030f0d3c385710d0a8004e40fb4705e1ece (diff)
downloadconfigs-5c2eaaf178d175d275109c7b23451f8a0771c574.tar.gz
configs-5c2eaaf178d175d275109c7b23451f8a0771c574.tar.xz
configs-5c2eaaf178d175d275109c7b23451f8a0771c574.zip
[emacs] org: export html5, add htmlize for syntax highlighting
Diffstat (limited to '')
-rw-r--r--.gitmodules3
-rw-r--r--init.org5
m---------lib/htmlize0
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
diff --git a/init.org b/init.org
index 04719f0..b4137ec 100644
--- a/init.org
+++ b/init.org
@@ -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