Hacker News new | past | comments | ask | show | jobs | submit login

Clarification: reveal.js supports markdown for individual slides. This project (Marp) allows you to write your whole presentation in a single markdown document.

(Using just "---" to separate slides instead of repeating: <section data-markdown> <script type="text/template"> slide markdown goes here </script> </section>

...seems like a productivity win IMO)

You can just use Pandoc to output reveal.js HTML for you.

    pandoc hello.md -t revealjs -o hello.html

Neat! Combine this with http://entrproject.org/ and https://github.com/cortesi/devd/releases for live-regenerating+reloading html output on md input changes :) . Or incrond, but entr feels great for this kind of ad-hoc workflow.

Oh that's very cool. What's the slide separator?

This might help:


Looks like either top level headings (equivalent to sections I guess) or a line like this "----------" would work.

Reveal also supports this on external markdown files: https://github.com/hakimel/reveal.js/#external-markdown

My personal example: http://slides.mkii.org/#/1

We use this in generator-reveal[1]. One markdown file per slide and minimal configuration in a json file. I have no shame

[1]: https://github.com/slara/generator-reveal

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact