4 Markdown-Powered Slide Generators

19 April, 2021

This post was originally published, in a slightly different form, at Opensource.com and appears here via a CC-BY-SA 4.0 license.

Imagine, for a moment, you’ve been tapped to give a presentation. As you’re preparing your talk, you think, I should whip up a few slides. So how are you going to do that, young presenter?

Maybe you prefer the simplicity of plain text, or maybe you think software like LibreOffice Impress is overkill for what you need to do. Or perhaps you just want to embrace your inner geek.

It’s easy to turn files formatted with Markdown into attractive presentation slides. Here are four tools that can do help you do the job.

Landslide

One of the more flexible applications on this list, Landslide is a command-line application that takes files formatted with Markdown, reStructuredText, or Textile and converts them into an HTML file based on Google’s HTML5 slides template.

All you need to do is write up your slides with Markdown, crack open a terminal window, and run the command landslide followed by the name of the file. Landslide will spit out a file named presentation.html, which you can open in any web browser. Simple, isn’t it?

Don’t let that simplicity fool you. Landslide offers more than a few useful features, such as the ability to add notes and create configuration files for your slides. Why would you want to do that? According to Landslide’s developer, it helps with aggregating and reusing source directories across presentations.

Slides generated using Landslide

Marp

Marp is a work in progress, but it shows promise. Short for Markdown Presentation Writer, Marp is an Electron app in which you craft slides using a simple two-pane editor: Write in Markdown in the left pane and you get a preview in the right pane.

Marp supports GitHub Flavored Markdown. If you need a quick tutorial on using GitHub Flavored Markdown to write slides, check out the sample presentation. It’s a bit more flexible than baseline Markdown.

While Marp comes with only two very basic themes, you can add background images to your slides, resize them, and include math. On the down side, it currently lets you export your slides only as PDF files. To be honest, I wonder why HTML export wasn’t a feature from day one.

Working on slides in Marp

Pandoc

You probably know pandoc as a magic wand for converting between various markup languages. What you might not know is that pandoc can take a file formatted with Markdown and create attractive HTML slides that work with the Slidy, Slideous, DZSlides, S5, and Reveal.js presentation frameworks. If you prefer LaTeX, you can also output PDF slides using the Beamer package.

You’ll need to use specific formatting for your slides, but you can add some variables to control how they behave. You can also change the look and feel of your slides, add pauses between slides, and include speaker notes.

Of course, you must have the supporting files for your preferred presentation framework installed on your computer. Pandoc spits out only the raw slide file.

Slides created with Pandoc

Hacker Slides

Hacker Slides is an application for Sandstorm (a self-hosted, open source productivity suite) that mates Markdown and the Reveal.js slide framework. The slides are simple, but they can be visually striking.

Craft your slide deck in a two-pane editor in your browser—type in Markdown on the left and see it rendered on the right. When you’re ready to present, you can do it from within Sandstorm or get a link that you can share with others to present remotely.

What’s that—you say that you don’t use Sandstorm? No worries. There’s a version of Hacker Slides that you can run on your desktop or server.

Building slides with Hacker Slides

Scott Nesbitt