Skip to content

Try to use the exported Converter class to customize the function. #464

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

You must be logged in to vote

FYI following are simplify version how to create PPTX from Marp Markdown. Hope to help for creating your own PPTX conversion logic :)

  1. Generate the pair of HTML snippet and CSS by @marp-team/marp-core.
  2. Create an standalone HTML file by combining them
  3. Load created HTML using browser automation library (e.g. Puppeteer, Playwright)
  4. Generate screenshots per page
  5. Create PPTX based on them, powered by PPTX generation library (e.g. PptxGenJS, officegen)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Saktawdi
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