From f5183f369dcdc4f9a09fec9edadee324a853fe2a Mon Sep 17 00:00:00 2001 From: Evan Misshula Date: Thu, 27 Nov 2014 22:12:42 -0500 Subject: [PATCH] added publishing function for websites --- ox-reveal.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ox-reveal.el b/ox-reveal.el index 3c25e9b..6801f83 100755 --- a/ox-reveal.el +++ b/ox-reveal.el @@ -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