Closed amelillo closed 1 year ago
I would recommend to use Asciidoctor.js directly (inside the <iframe>
) and convert the text to HTML.
The browser extension is designed/limited to render text content.
If you want to continue this discussion, please join the project chat at chat.asciidoctor.org as we don't use the issue tracker as a support forum. Thanks!
thank you.
Hello. I started using asciidoc.js extension as a live preview of my asciidoc files I edit wih gedit. Everything works flawlessly. Then I wanted to upgrade my workflow; I coded a simple html page with a table which divides the screen in four cells. In each cell I put an iframe referencing to a local directory where I store *.adoc files so Firefox shows a simple directory tree as if I were in a file manager. Well, if I open an asciidoc file clicking on its name, the file is rendered as plain text. Is thee a workaround to make the extension sense the opening of an asciidoc file inside the iframe and render it correctly? The code I use is attached below. (the fourth frame is a textarea to take live notes inside the browser) Thanks!