Closed lindingkang closed 4 months ago
Marp for VS Code has been designed as an extension for VS Code built-in Markdown preview. Your screenshot looks like showing a different Markdown preview feature provided by an other VS Code extension. Try opening the default Markdown preview from the command palette (Markdown: Open Preview to the Side
).
I tried to output in both HTML and PDF formats, and the output was not a horizontally paginated PowerPoint, but a vertical page of non paginated white paper as shown on the right side of the preview.
By Markdown spec, if there is ---
immediately following a line of text, it is treated as part of a setext heading and not as a page break.
In other words,
good
---
gg
---
is exactly same meaning as:
## good
## gg
You should make a blank line between the text and a ruler to split slide pages, like that:
good
---
gg
---
Marp for VS Code has been designed as an extension for VS Code built-in Markdown preview. Your screenshot looks like showing a different Markdown preview feature provided by an other VS Code extension. Try opening the default Markdown preview from the command palette (
Markdown: Open Preview to the Side
).Similar
Thanks a lot. This commod works.
After downloading the plugin and opening the file, the preview on the right couldn't successfully preview it as a PowerPoint. I tried to output in both HTML and PDF formats, and the output was not a horizontally paginated PowerPoint, but a vertical page of non paginated white paper as shown on the right side of the preview.