-
I use the marp VS Code extension. Exporting to pdf or ppt work there via the menu. Exporting vis marp-cli fails in various ways (pictures missing, embedded html not rendered). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Probably you are just missing to enable opt-in options of Marp CLI such as
If you installed Marp CLI into your Node.js project, you can use watch mode from VS Code by setting up This example allows running
|
Beta Was this translation helpful? Give feedback.
Note
This answer is marked as the answer by original poster but might be getting off topic from the request in a topic title. If you are here to find a way for automation/watch Marp conversion in VS Code, please check out https://github.com/orgs/marp-team/discussions/528#discussioncomment-10383087.
If you are using Marp built-in themes
default
,gaia
, oruncover
, Marp CLI can use the theme defined in Markdown front-matter out of the box. If not (using custom themes from community), you have to tell Marp CLI where theme CSS files are located expected to use like a setting of Marp for VS Codemarkdown.marp.themes
.