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

Add --pptx option to support conversion into PowerPoint document #124

Merged
merged 20 commits into from
Jul 9, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jul 7, 2019

Marp CLI will provide an easy way of conversion from Marp Markdown into PowerPoint document (PPTX). Just add --pptx option (or specify output path with .pptx extension).

marp markdown.md --pptx
marp markdown.md -o output.pptx

In PPTX conversion, we generate pre-rendered images (implemented in #123) and concat these into one PowerPoint document. Of course, Marpit's presenter notes written in HTML comment also convert to PPTX notes.

Screenshot_2019-07-08 deck-a pptx - Microsoft PowerPoint Online(1)

We created @marp-team/pptx package to create PPTX in JS with the least dependency, powered by PptxGenJS.

And we added "PPTX" button into served file index in server mode, to download PowerPoint document created by on-demand conversion.

server

Resolves #107 and yhatt/marp#23.

ToDo

  • Add tests

@yhatt yhatt merged commit 3ca8a6c into master Jul 9, 2019
@yhatt yhatt deleted the pptxgenjs branch July 9, 2019 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert slide deck to PowerPoint (pptx) that consists of rendered images
1 participant