# MkSlides – Markdown to slides with a similar workflow to Mk…

As a teacher, we keep our slides as markdown files in git repos and want to build these automatically so they can be viewed online (or offline if needed). To achieve this, I have created MkSlides. This tool converts all markdown in a folder to slides generated with Reveal.js. The workflow is very s…

- **Page:** https://magpie.gallery/i/mkslides-markdown-to-slides-with-a-similar-workflo-c2sm
- **Type:** Link to an idea elsewhere
- **Category:** Learning
- **Runs on:** windows, macos, linux
- **Tags:** markdown, slides, revealjs, python, documentation

## Source

Web · MartenBE: MkSlides – Markdown to slides with a similar workflow to MkDocs

- **Original:** https://news.ycombinator.com/item?id=46068847

> As a teacher, we keep our slides as markdown files in git repos and want to build these automatically so they can be viewed online (or offline if needed). To achieve this, I have created MkSlides. This tool converts all markdown in a folder to slides generated with Reveal.js. The workflow is very similar to MkDocs. Install: `pip install mkslides` Building slides: `mkslides build` Live preview during editing: `mkslides serve` Comparison with other tools like marp, slidev, ...: - This tool is a single command and easy to integrate in CI/CD pipelines. - It only needs Python. - The workflow is also very similar to MkDocs, which makes it easy to combine the two in a single GitHub/GitLab repo. - Generates an index landing page for multiple slideshows in a folder which is really convenient if you have e.g. a slideshow per chapter. - It is lightweight. - Everything is IaC. https://github.com/MartenBE/mkslides

## GitHub projects

- https://github.com/MartenBE/mkslides

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
