Marp Cli Engine (--engine) with the API (node.js) #488
Answered
by
yhatt
samuele-cozzi
asked this question in
Q&A
-
Hi, I appreciate your wonderful repository. |
Beta Was this translation helpful? Give feedback.
Answered by
yhatt
Nov 23, 2023
Replies: 1 comment 3 replies
-
Marp CLI API supports any CLI arguments including import { marpCli } from '@marp-team/marp-cli'
// Specify engine by the module name
marpCli(['--engine', '@marp-team/marp-core', './slide.md'])
// Specify engine by the path for the function engine
marpCli(['--engine', 'engine.mjs', './slide.md']) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
yhatt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Marp CLI API supports any CLI arguments including
--engine
. (In other words, API does never restrict any CLI options)