Skip to content

marp-cli error when using markdown-it-plantuml #433

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

You must be logged in to vote

The engine.js script you've provided is actually a configuration file for Marp CLI, not an engine. Therefore, use -c instead of --engine to pass the setting to CLI.

marp -c ./xxxxxx.js your-markdown.md

An engine script that is passed by --engine must export a JavaScript class or function through module.exports.

If it was still not working, try updating every Marp tools to the latest versions. I found from your package.json that you seems to be depending on very old versions of Marp tools.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alanlivio
Comment options

Answer selected by alanlivio
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