mirror of
https://github.com/yjwen/org-reveal.git
synced 2024-06-26 07:29:00 +02:00
added publishing function for websites
This commit is contained in:
parent
2380fd7bc2
commit
f5183f369d
13
ox-reveal.el
13
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user