diff options
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -19,6 +19,7 @@ (package-initialize) (require 'ox-publish) +(require 'htmlize) (defvar this-date-format "%Y-%m-%d") @@ -91,6 +92,8 @@ PUB-DIR is when the output will be placed." (if (equal "../pages/microblog.org" (file-name-nondirectory filename)) (org-html-publish-to-html plist filename pub-dir))) +(setq org-src-fontify-natively t) + (setq org-publish-project-alist '(("posts" :base-directory "posts" @@ -113,6 +116,7 @@ PUB-DIR is when the output will be placed." :html-postamble me/html-postamble :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t ) ("microposts" :base-directory "microposts" @@ -132,6 +136,7 @@ PUB-DIR is when the output will be placed." :html-postamble me/html-postamble :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t ) ("pages" :base-directory "pages" @@ -152,21 +157,22 @@ PUB-DIR is when the output will be placed." :html-prefer-user-labels t :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t ) ("css" - :base-directory "css" - :base-extension "css" - :publishing-directory "site/css" - :publishing-function org-publish-attachment - :recursive t - ) + :base-directory "css" + :base-extension "css" + :publishing-directory "site/css" + :publishing-function org-publish-attachment + :recursive t + ) ("js" - :base-directory "js" - :base-extension "js" - :publishing-directory "site/js" - :publishing-function org-publish-attachment - :recursive t - ) + :base-directory "js" + :base-extension "js" + :publishing-directory "site/js" + :publishing-function org-publish-attachment + :recursive t + ) ("assets" :base-directory "assets" :base-extension any |