question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blank output when using External Markdown in reveal.js

See original GitHub issue

To 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:closed
  • Created 8 years ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
astefanutticommented, Jun 12, 2016

@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.

1reaction
astefanutticommented, Sep 22, 2016

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found