Hello, I'm very happy to use the plugin. But as Firefox-User 14060320 wrote - I've also some problems when using it in Firefox. Though I'm not sure if these are the same problems. I didn't have problems in Opera or Chrome. Same situation on Windows 7 and Windows 10. So what's wrong ... * step 1: _in the browser_, I open a file-url to some dox/-directory containing my ADOC-files. * step 2: in the rendered directory-listing, ... ** 2-A) click an xyz.adoc link => it opens in the same tab, but does not render as ADOC => :-( ** 2-B) right-click an xyz.adoc link => "open in new window" => it opens a new window, but does not render as ADOC => :-( ** 2-C) right-click + open in new tab (or Ctrl-Click) => Wow! I see pretty ADOC! ** 2-D) If I type in the whole (file-) URL directly => also OK.
So I hope that helps, and you are still glad to fix it. Thanks, Toni
Hello, could you please elaborate ? What is not working ? Do you have an error in the console ? Are you able to reproduce this issue on a particular website ?
I would be glad to fix it but I need some information :)
Edit: I think it might be related to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1267027 On Firefox, pages viewed directly from GitHub may not render properly. This is result of a Firefox bug carrying over the restrictive content security policies (CSP) that GitHub sends to content inserted by the WebExtension. Please note that this issue can also occured on other websites with restictive CSP.
How can one set the rendering control? I'm trying to render graphs with graphviz, but not seeing any options to include the command... apart from that, great idea for a plugin! I use it as a live previewer, while I write in vim.
What version of the add-on are you using ? I'm asking because the add-on should load only when the URL is ending with .asciidoc, .adoc, .ad or .asc OR containing .asciidoc?, .adoc?, .ad? or .asc? https://github.com/asciidoctor/asciidoctor-firefox-addon/blob/master/data/asciidocify.js#L5
Do you have an example of this issue so I can work on it ?
Saves you the trouble of downloading Asciidoctor and converting your documents to HTML manually. Instead, just browse to an AsciiDoc document anywhere that's accessible via URL (including local file URLs) and see the HTML preview. A huge time saver!