Creating presentations with Marp and Draw.io in VSCode
Creating presentations can be a daunting task, but it doesn't have to be. With VSCode, you can make great presentations with the help of Marp and Draw.io. Marp is an open source tool that makes creating presentations easy using markdown, while Draw.io allows you to draw diagrams and insert them into your presentation. We'll go over the basics of creating presentations with Marp and Draw.io in VSCode, so you can make the most of your presentations.
Workflow demo
The following video is a demonstration of my workflow while creating the presentation using Marp.
Install Marp extension
Search for this extension in your vscode or download from the official store page:
This is a small and opinionated example:
The result will be this:
Install Draw.io Integration extension
Search for this extension in your vscode or download from the official store page:
Now you will be able to create a new file called anything.drawio.png
and be able to:
- Edit the diagram. Even after rendering the file in the
.png
format, the diagram still is editable - Import the image to any Markdown file, including the Marp presentation
- Commit this image to remote git repos like GitHub and GitLab