Anonymous
My feedback
1 result found
-
5 votes
An error occurred while saving the comment An error occurred while saving the comment Anonymous commentedI could suggest that this be done in three complementary patterns:
* Render as text (Just show the content as a text .txt file)
* Native rendering to HTML
* Provide a raw content view (like GitHub) and delegate any rendering to a third party plugin (eg the Asciidoc Browser Plugin)Render as text: Treat the .adoc or .asciidoc extension as a text file and render accordingly as text
Native rendering: Natively render the asciidoc file with the extension .adoc, asciidoc to HTML in the same way that the AsciiDoc Browser plugin does using asciidoctor.js (though of course with security restrictions)
Raw content view: Allow the raw box content to be processed by the AsciiDoc Browser Plugin so that it may render the raw asciidoc content to HTML for viewing.
Anonymous supported this idea ·
As a fourth option to those above, provide documentation and the API to allow others to provide an AsciiDoc rendering addon. Apologies if this is already available.