Skip to content

Marp VS Code export differs from marp-cli - automate or watch in VS Code? #528

Answered by yhatt
Kugeleis asked this question in Q&A
Discussion options

You must be logged in to vote

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, or uncover, 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 Code markdown.marp.themes.

marp --html --allow-local-files --theme-set ./themes/custom-theme.css -- slid…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kugeleis
Comment options

@yhatt
Comment options

Answer selected by Kugeleis
@Kugeleis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants