Generate Google Slides from markdown & HTML. Run from the command line or embed in another
This project was developed as an example of how to use the
While it does not yet produce stunningly beautiful decks, you are encouraged to use
this tool for quickly prototyping presentations.
Contributions are welcome.
Installation and usage
For command line use, install md2gslides globally:
$ npm install -g md2gslides
After installing, import your slides by running:
$ md2gslides slides.md
The first time the command is run you will be prompted for authorization. Credentials
will be stored locally in a file named ~/.credentials/md2gslides.json.
Supported markdown rules
md2gslides uses a subset of the CommonMark and
Github Flavored Markdown rules for
Each slide is typically represented by a header, followed by zero or more block elements.
Begin a new slide with a horizontal rule (—). The separator
may be omitted for the first slide.
The following examples show how to create slides of various layouts: