mirror of https://github.com/yjwen/org-reveal.git
Expand full path when opening exported HTML file
Sometimes path is relative and browser fails to open the file.
This commit is contained in:
parent
8b11f09bd8
commit
b623c2735f
|
@ -742,7 +742,7 @@ info is a plist holding export options."
|
|||
(&optional async subtreep visible-only body-only ext-plist)
|
||||
"Export current buffer to a reveal.js and browse HTML file."
|
||||
(interactive)
|
||||
(browse-url-of-file (org-reveal-export-to-html async subtreep visible-only body-only ext-plist)))
|
||||
(browse-url-of-file (expand-file-name (org-reveal-export-to-html async subtreep visible-only body-only ext-plist))))
|
||||
|
||||
(provide 'ox-reveal)
|
||||
|
||||
|
|
Loading…
Reference in New Issue