How to Troubleshoot Errors with a Gemini-Made Slide Deck

How to Install Visual Studio Code on Mac (Step-by-Step)

If you preview your slide deck, it may include some errors. So in this article, I'll guide you on how to solve some errors.

1. A chart or diagram isn't displayed.

When a Mermaid chart seems having syntax errors or is not visible, ask Gemini below in the same chat as you generate the slide deck.

Screenshot of a slide preview where a Mermaid chart area is blank, showing an error in rendering the diagram in the Gemini-generated slide deck.
It seems the Mermaid chart under "(the specific heading the chart is in here)" is not visible. 
Can you check these points below?
- if the entire HTML code follows the format given in the custom instruction.
- if the Mermaid code is written correctly in compliance with the Mermaid syntax PDF.

2. A formula isn't displayed.

When a formula seems having syntax errors or is not visible, ask Gemini below in the same chat as you generate the slide deck.

Screenshot showing a slide with an incorrectly displayed mathematical formula, indicating a MathJax syntax or formatting error.
It seems the formula under "(the specific heading the chart is in here)" is not visible. 
Can you check these points below?
- if the MathJax code is enclosed with "$$" if multiple lines or "$" if inline.
- if the MathJax code is written correctly.

3. The preview doesn't seem to be a slide deck.

When a slide deck isn't well-formatted, ask Gemini below in the same chat as you generate the slide deck.

Screenshot of a slide preview with plain text content instead of slide formatting, showing an error where the Marp configuration is missing.
It seems the preview seems not to be a slide deck. Can you check these points below?
- if the code includes `marp:true` in the optional setting on the top.

4. Texts are overlapped.

If some texts are overlapped, ask Gemini below in the same chat as you generate the slide deck.

Screenshot of a slide where text overlaps over the height of the slide, making the content illegible and highlighting a text overflow problem in Gemini-generated slides.
It seems the content under "(the specific heading the chart is in here)" is overlapped.
Can you make it fit in the slide's height by shortening texts or dividing the content into 2 slides?

5. A chart or diagram is overlapped.

If a chart or diagram is overlapped, ask Gemini below in the same chat as you generate the slide deck.

Screenshot of a flowchart exceeding the slide height, causing overlap in the diagram layout and requiring adjustment of chart orientation or scale.
It seems the chart under "(the specific heading the chart is in here)" is overlapped.
Can you make it fit in the slide's height by focusing on main points or changing the width in the `config` setting? 
If a flowchart is wider in height than the slide, try changing the direction to "TD".

6. Full markdown code isn't in a code block.

If full markdown code isn't in a single code block, ask Gemini below in the same chat as you generate the slide deck.

Screenshot showing markdown content split across multiple blocks instead of a single code block, preventing correct slide rendering.
Source: Google Gemini
Collect all the content into a code block.

6. A table is almost the height of the slide.

If a table is close to the height of the slide, ask Gemini below in the same chat as you generate the slide deck.

Screenshot of a table nearly filling the entire slide height, demonstrating a layout issue where the table size needs to be reduced for readability.
It seems the table under "Algorithm Performance:" is almost the height of the slide. Can you make the size of the table more smaller?

In this article, I went through major errors and the solution. By solving these errors, you can generate a error-free slide deck.

Comments