Blank output when using External Markdown in reveal.js
See original GitHub issueTo test this, I started with the sample html file that comes with reveal.js and stripped out the entire <div class="reveal"> ... </div>
and replaced it with the following code bits.
This works:
<div class="reveal">
<div class="slides">
<section>Normal Text</section>
</div>
</div>
This works:
<div class="reveal">
<div class="slides">
<section data-markdown>
<script type="text/template">
## Markdown Text
</script>
</section>
</div>
</div>
But if I put “## Markdown Text” inside a file called text.md and use the following in my html, it looks exactly as the above test when I view it in my browser but I get a blank pdf from decktape.
<div class="reveal">
<div class="slides">
<section data-markdown="text.md"/>
</div>
</div>
Any thoughts?
Issue Analytics
- State:
- Created 8 years ago
- Comments:24 (12 by maintainers)
Top Results From Across the Web
Markdown | reveal.js
External Markdown You can write your content as a separate file and have reveal. js load it at runtime. Note the separator arguments...
Read more >Differences between Reveal-md and reveal.js + external ...
Answer from the original author at https://github.com/webpro/reveal-md/issues/217: I think you're describing the differences quite well.
Read more >Reveal.js for linguistics: using Markdown to write slideshows
The output of this command will be a file with all the necessary reveal.js boilerplate, and your markdown file converted into HTML.
Read more >Revealjs Options - Quarto
Revealjs is an open source HTML presentation framework. ... Do not include results. asis : Treat output as raw markdown with no enclosing...
Read more >Convert to a reveal.js presentation - R-Project.org
Format for converting from R Markdown to a reveal.js presentation. ... Produce a standalone HTML file with no external dependencies, using data: URIs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andrewhao, the current Docker image does not contain the fix yet. I’m waiting for another issue’s fix and I’ll update the image ASAP then.
I’ve just released version
1.0.0
, which contains the updated binaries with the fix for this issue. The Docker image has been updated as well.Thanks for your patience!