paint-brush
Creating PowerPoint Presentations With ChatGPT and MARP (As a Software Engineer): A Guideby@horosin
1,171 reads
1,171 reads

Creating PowerPoint Presentations With ChatGPT and MARP (As a Software Engineer): A Guide

by Karol HorosinApril 25th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to create PowerPoint presentations with ChatGPT and MARP? Generating MARP format markdown in a code block for presentation. Creating presentation content, slides and adding graphics using ChatGPT and MARP.
featured image - Creating PowerPoint Presentations With ChatGPT and MARP (As a Software Engineer): A Guide
Karol Horosin HackerNoon profile picture

As a software engineer, I find ChatGPT to be an incredibly powerful tool that has the potential to empower people in various fields. However, it does have its limitations; for example, it can only produce text.


Although OpenAI is testing plugins, I do not have access to them and am unsure if any of them allow generating slides.


Fortunately, my friend Piotr Radkowski (LinkedIn) shared an idea with me for generating markdowns that can be converted into PowerPoint presentations using MARP, a tool he had previously used and inspired me to try.


⬇️ Presentation resulting from this tutorial (PDF)

MARP

MARP is a tool that allows users to quickly create aesthetically pleasing presentations based solely on content. It appeals to software engineers as it streamlines the process of creating presentations without the need for extensive design work.


MARP allows users to convert markdown documents into slide decks.

Generating Presentation Content

ChatGPT can be utilized for generating MARP-compliant markdown content, which makes it an excellent tool for presentation creation. If you plan to present a topic, it is recommended that you iterate through several versions with ChatGPT, providing as much detail and input as possible.


This will help create more unique and valuable content. For this article, I will use the GPT-4 model.


Here's my prompt template:


Hey, please generate a MARP markdown in a code block for presentation titled XXX. Include this information: XXX. It should be prepared for about 15 minutes of presenting. Title slide should include author's name: XXX.


An example prompt might look like this:


Hey, please generate a MARP format markdown in a code block for presentation titled "Demystifying OpenAI: What It Is and What It Does". It should be prepared for about 15 minutes of presenting. Title slide should include author's name: Karol Horosin.


The answer to the above looks like this.



BTW, the title for the presentation was also generated using ChatGPT! After you receive the generated markdown, refine it by tweaking the content through further interaction with ChatGPT or by making the amendments yourself.

Turning MARP Into Slides

If you'd like to experiment with slide formatting right away, you can use the online editor at https://demo.marpeditor.com.


To properly work with MARP and convert the generated markdown into different formats, you will need the Visual Studio Code (VS Code) editor and the MARP plugin found here.


Once installed, open a new file, paste the markdown, and turn on the markdown preview to see the slide preview (CMD/CTRL + K and then V).


To export to various formats, bring up the command palette (CMD/CTRL + SHIFT + P), type "Marp," and select "Marp: Export slide deck..."

Enriching the Presentation With Graphics

To enhance your presentation, consider adding images. You can ask ChatGPT to add graphics for you or insert placeholders for images that you can add links to later. In this example, I will add a few images myself.


For the title slide, insert the OpenAI logo with:


![width:500px](https://cdn.hackernoon.com/images/dieIKS1smgR3vhCfmUenCSgojq23-2023-04-25T21:21:52.944Z-clgwrvrqp000n0bs61cvlgb46)


For the slide about research, add an image of OpenAI engineers and place it on the left side of the slide:


![bg left](https://cdn.hackernoon.com/images/dieIKS1smgR3vhCfmUenCSgojq23-2023-04-25T21:21:52.949Z-clgwrvrqt000o0bs6hra438oc)


As you can see, both inserting an image in line with the content and placing it aesthetically on the side are very easy with MARP.

Conclusion

As demonstrated, ChatGPT can be used not only for generating text but also for creating PowerPoint-style presentations. This allows users to focus more on the talk delivery and creative process rather than spending time on slide design.


While MARP is a simple tool, it is more than sufficient for many use cases.


I also recommend exploring other text-based graphic formats that ChatGPT can generate, such as mermaid.js (https://mermaid.js.org). These tools can further boost your productivity.


I hope you find this technique useful in your work, and I encourage you to share any ChatGPT hacks that you might have discovered.


Don't forget to follow me on Twitter @horosin, and subscribe to my newsletter for more tips and insights!


If you don’t have Twitter, you can also follow me on LinkedIn.