On Wednesday, May 14, 2014 12:54:26 PM UTC+2, Barry Arthur wrote:
>
>
> How hard would it be to have a link/button to download the rendered html 
> (css and all, as if it had come out of asciidoc)?
>>
>>
>>
A bit hard. To do it well, it would be preferable to have a chroot jail 
from which we can run a real instance of asciidoc.

Incidentally, I'm working on adding that kind of functionality to an 
interactive website I am working on, https://thefiletree.com.

Of course, it is also possible to do it all client-side, but it requires 
some trickery.
I can redirect to a data:text/html URL which would contain the whole 
webpage.
That would be fine until the input doesn't fit in a URL (they do have a 
limit on how large they can be).
Also, it wouldn't download by default; one would have to right click > 
"Save as" to download it.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to