support for publishing

This commit is contained in:
Justin Abrahms 2020-11-07 21:54:04 -08:00
parent f2f6d73e94
commit 156a19c731

View File

@ -184,4 +184,16 @@ holding export options."
async subtreep visible-only body-only ext-plist))) async subtreep visible-only body-only ext-plist)))
(defun org-gemini-publish-to-gemini (plist filename pub-dir)
"Publish an org file to a gemini file
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
'gemini filename ".gmi" plist pub-dir))
(provide 'ox-gemini) (provide 'ox-gemini)