asciidoctor-browser-extension icon indicating copy to clipboard operation
asciidoctor-browser-extension copied to clipboard

Is there a plan to add the export to html feature?

Open ioalloc opened this issue 7 years ago • 2 comments

Is there a plan to add the export to html feature?

ioalloc avatar Jun 15 '17 13:06 ioalloc

That would be interesting. Currently, when you use "Save As..." it just saves the raw AsciiDoc source.

mojavelinux avatar Jun 16 '17 18:06 mojavelinux

I think we could use the downloads API: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/downloads/download

We will need to add downloads in the permission: https://github.com/asciidoctor/asciidoctor-browser-extension/blob/57f9457f6f0e1db716fa87a80f1c3b26a760e1da/app/manifest.json#L291-L311 Since this API is not available in Safari and Firefox Mobile, we should probably check if downloads.download() is available before calling it.

ggrossetie avatar May 24 '21 07:05 ggrossetie