Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert slide deck to PowerPoint (pptx) that consists of rendered images #107

Closed
4 tasks done
yhatt opened this issue Jun 22, 2019 · 1 comment · Fixed by #124
Closed
4 tasks done

Convert slide deck to PowerPoint (pptx) that consists of rendered images #107

yhatt opened this issue Jun 22, 2019 · 1 comment · Fixed by #124
Labels
enhancement New feature or request

Comments

@yhatt
Copy link
Member

yhatt commented Jun 22, 2019

By using officegen, we might convert from Marpit / Marp Markdown into PowerPoint slide that consists of pre-rendered images.

It's very useful for mixing a traditional presentation deck and the deck made by Marp. In addition, it could use PowerPoint's presenter tool with Marpit's presenter notes.

Exporting PowerPoint deck was mentioned in the old Marp app by yhatt/marp#23. We'll make it wake up.

I suppose it would have to start working after than implemented #71.

ToDo


⚠️ People would expect re-editable contents in converted pptx. But it's still super difficult to convert into them with keeping the exact slide design, and there is no solution in FLOSS.

Adobe Acrobat can convert the exported PDF into pptx that includes re-editable contents, and keeps the design to some extent.

@yhatt yhatt added the enhancement New feature or request label Jun 22, 2019
@yhatt
Copy link
Member Author

yhatt commented Jul 6, 2019

I'm comparing 2 packages for creating pptx. At the moment, I would choose PptxGenJS because a generated pptx has compatibility with many office suites.

officegen

Pros

  • Well tested, and supported by many packages.
  • Probably active, and stars earned over 1.5k.
  • Open-source licensed by MIT.

Cons

  • A bit lacked documentation.
  • Speaker notes does not apply when opening in Keynote app.
  • There is not TypeScript definition.

PptxGenJs

Pros

  • Universal JS: Supports many environments (but it would not have meaning in Marp CLI).
  • Support background image for slide page and can create PPTX similar to GitPitch's PowerPoint support.
  • Most likely active, and already reached stable version.
  • Open-source licensed by MIT.

Cons

  • npm package includes unnecessary 20MB examples.
  • It requires a bit trick to enable TypeScript definition.
  • I fear that it was not included any tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant