asciidoctor/asciidoctor-browser-extension

File in shared folder isn't rendered with Chrome and Edge

yasuhirokimura opened this issue · 1 comments

I installed Asciidoctor.js Live Preview extension 2.7.1 to following Browsers.

  • Google Chrome 115.0.5790.99
  • Microsoft Edge 114.0.1823.86
  • Mozila Firefox 115.0.2

All of them works on 64bit Windows 10 22H2. I also checked Allow access to file URLs with Chrome and Edge.

With Firefox .adoc file is successfully rendered wherever it is. With Chrome and Edge both local file and file on web server are successfully rendered too. But if I open file in shared folder (file://remotehost/foldername/foo.adoc), then it isn't rendered and source text is displayed as is.

Probably the same issue: #94 (comment)

Browsers do not allow loading file from shared folder using XMLHttpRequest. As mentioned in #94, the only workaround is to copy files elsewhere or setup a webserver.