-
like the title, I mainly use marp-core, but one headache is that I cannot export pptx. The worst case is to use exec to use the marp-cli command. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In the first place, Marp CLI's Since the Converter class is closely related to tool's behavior, it is designed to be used just through the command-line interface. Therefore, CLI users cannot use `Converter' directly. The documentation about public API is here. It can invoke Markdown conversion without using import { marpCli } from '@marp-team/marp-cli'
// Convert a.md to a.pptx
await marpCli(['a.md', '-o', 'a.pptx']) |
Beta Was this translation helpful? Give feedback.
-
FYI following are simplify version how to create PPTX from Marp Markdown. Hope to help for creating your own PPTX conversion logic :)
|
Beta Was this translation helpful? Give feedback.
FYI following are simplify version how to create PPTX from Marp Markdown. Hope to help for creating your own PPTX conversion logic :)
@marp-team/marp-core
.