md-slides
is a single binary for rendering and presenting Markdown-based slides as html.
- Supports all traditional markdown features
- Support for various alignment, sizing, and resolution options
- Support for "paged" vs "scrolling" modes
- Decent support for rendering to PDF via Chrome/Chromium
See astromechza.github.io/md-slides/ for an example of the standalone output and a more in depth look at the features.
The following command will find and download the latest release from the Github release page:
$ curl https://raw.githubusercontent.com/astromechza/md-slides/master/install.sh | INSTALL_DIRECTORY=~/bin sh
Binaries are available for macOS, Linux, and Windows.
Built with Golang 1.20+ (with modules).
Run make
to see the development targets.
md-slides
is built and tested by Github Actions. Releases are done manually every now and then as needed:
- Push a new tag like
vX.Y.Z
- Draft a new release for the tag
- On your local machine, run
make build
and update the artifacts to the release - Add the git diff for good measure as release notes
- Publish it
To update the Github pages site, do the following after a release:
- Run
temp=$(mktemp -d); md-slides html -source SLIDES.md -target-dir ${temp}; echo ${temp}
to generate the content - Open a new branch/PR against the
gh-pages
branch - Copy the content back to the branch from
${temp}
- Check and merge the PR
Mostly just me!
This is a personal project and tool. You are most welcome to use it too but development is sporadic and tightly tied to my own wants and needs.