mirror of
https://github.com/correl/dotfiles.git
synced 2025-01-08 03:00:10 +00:00
[emacs] Org mode publish config
This commit is contained in:
parent
070f63a117
commit
700086bd50
1 changed files with 21 additions and 0 deletions
21
.emacs.d/init.d/org.el
Normal file
21
.emacs.d/init.d/org.el
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
(setq org-publish-project-alist
|
||||||
|
'(("org-notes"
|
||||||
|
:base-directory "~/org" :base-extension "org"
|
||||||
|
:publishing-directory "~/Public/org"
|
||||||
|
:publishing-function org-publish-org-to-html
|
||||||
|
:section-numbers t
|
||||||
|
:table-of-contents t
|
||||||
|
:drawers nil
|
||||||
|
:creator-info nil
|
||||||
|
:recursive t
|
||||||
|
:link-home "/"
|
||||||
|
:style "<link rel='stylesheet' href='stylesheet.css' />")
|
||||||
|
("org-static"
|
||||||
|
:base-directory "~/org" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
||||||
|
:publishing-directory "~/Public/org"
|
||||||
|
:recursive t
|
||||||
|
:publishing-function org-publish-attachment)
|
||||||
|
("org" :components ("org-notes" "org-static"))))
|
||||||
|
|
||||||
|
(setq org-export-html-style-include-scripts nil
|
||||||
|
org-export-html-style-include-default nil)
|
Loading…
Reference in a new issue