asciidoctor/asciidoctor-reveal.js

Document that speaker notes will be displayed as plain-text when using a CDN (jsDeliver in particular)

korve opened this issue · 5 comments

korve commented

When i press s inside a reveal.js presentation the speaker view pops up. In this view the HTML is displayed as plain text and not rendered at all (See screenshot). The problem here seems to be that the CDN delivers the content as plain/text.

Versions:

Asciidoctor reveal.js 4.1.0 using Asciidoctor 2.0.18 [https://asciidoctor.org]
Runtime Environment (ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Screenshot 2023-05-12 at 06 50 04

Hey @korve this is a duplicate of #414

jsDeliver states that "serving HTML pages is not supported for security reasons". So you'd have to use a different CDN or publish through a hosting platform such as GitHub Pages, GitLab Pages, Netlify, etc.

Feel free to submit a pull request to add a note in the documentation.