hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.66k stars 16.64k forks source link

external markdown resource is not working #2455

Open elszon opened 5 years ago

elszon commented 5 years ago

Hi, there some issue with markdown from external resource. I get blank slide for all external files.

Bug show up after firefox update.

To reproduce please check reveal.js/plugin/markdown/example.html. First slide is just empty. In this place should be several slides from example.md.

chrome - Version 75.0.3770.100 (Official Build) (64-bit) firefox - 68.0 (64-bit)

milancurcic commented 5 years ago

This most likely has to do with the Firefox 68 update which now enforces the CORS same-origin rule for file:/// URIs, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp.

Temporary workaround is to go to about:config and set privacy.file_unique_origin to False.

Unfortunately, I only started using revealjs to make some slides and don't have a clue about how this could be fixed on the revealjs end.

elszon commented 5 years ago

@milancurcic, thank for workaround.

worksasintended commented 5 years ago

Issue still exists.

milancurcic commented 4 years ago

This issue remains.

johnwry commented 3 years ago

has anyone found a solution to this by any chance?