Convert a Markdown outline into a Google Slides presentation without opening the Slides editor.
Generate slides from code documentation or README files by adding slide-separator rules to the Markdown.
Use as a Node.js library inside another app to programmatically create or update Google Slides decks.
Quickly turn meeting notes written in Markdown into a shareable slide deck with one command.
Requires a Google Cloud developer account to create OAuth credentials before the tool can be used for the first time.
md2googleslides is a command-line tool that reads a Markdown text file and converts it into a Google Slides presentation. You write your slide content as plain text using standard Markdown formatting, run one command, and the tool creates a new slide deck in your Google account via the Slides API. It can also be used as a library inside another application. The project was built by Google as a demonstration of what the Slides API can do, and the README notes it is suited for quickly sketching out a presentation rather than producing a polished final deck. Each slide in the Markdown file is separated by a horizontal rule. The type of slide generated depends on what headings and content follow that separator. A single large heading becomes a title slide, a heading with body text becomes a standard content slide, and adding a special marker creates a two-column layout. There are also options for big-number or single-main-point slides. Images can be placed inline or set as full-slide backgrounds, and YouTube videos can be embedded with a short tag. Speaker notes are written inside HTML comment blocks. Text formatting works much like it does in standard Markdown: bold, italic, strikethrough, code, and lists are all supported. Code blocks get syntax highlighting, with the option to pick a theme from the highlight.js library. Tables using GitHub-Flavored Markdown syntax are also supported, though the README warns that mixing tables with other elements on the same slide can cause layout problems. Setting up the tool requires a Google Cloud developer account to create OAuth credentials. You download a credentials file, place it in a specific folder, and then authorize the tool the first time you run it. After that, generating slides is a single command pointing at your Markdown file. To update an existing deck rather than create a new one, you pass the deck ID from the URL. Themes are not controlled by the tool. You set a theme directly in Google Slides, and md2googleslides leaves it in place when it generates or updates content.
← googleworkspace on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.