added publishing function for websites

This commit is contained in:
Evan Misshula 2014-11-27 22:12:42 -05:00
parent 2380fd7bc2
commit f5183f369d
1 changed files with 13 additions and 0 deletions

View File

@ -752,6 +752,19 @@ info is a plist holding export options."
(interactive)
(browse-url-of-file (expand-file-name (org-reveal-export-to-html async subtreep visible-only body-only ext-plist))))
;;;###autoload
(defun org-reveal-publish-to-reveal
(plist filename pub-dir)
"Publish an org file to Html.
FILENAME is the filename of the Org file to be published. PLIST
is the property list for the given project. PUB-DIR is the
publishing directory.
Return output file name."
(org-publish-org-to 'reval filename ".html" plist pub-dir))
(provide 'ox-reveal)
;;; ox-reveal.el ends here