marp-cli icon indicating copy to clipboard operation
marp-cli copied to clipboard

Fragmented list don’t export animations in PowerPoint

Open reparke opened this issue 6 years ago • 8 comments

(I posted this in Marp VSCode but was told it belonged here instead)

When I used the Fragmented unordered list and export to PPTX, the "fragmented" / animation part doesn't work--that is, all the items appear at once. The fragmented effect works fine in HTML, but not in PPTX Markdown example:

Title
* item 1
* item 2

My system OS: Windows 10 Pro version 1803 (build 17134.885) VSCode: 1.37.1 Marp extension: 0.9.0

reparke avatar Sep 02 '19 05:09 reparke

Thank you for your helping to translate the issue from marp-team/marp-vscode#66 to marp-cli.

We have two approaches to realize:

And we have to support rendering images of all animation frames by fragmented list in either case.

yhatt avatar Sep 02 '19 10:09 yhatt

There's a broader set of issues with the PowerPoint generation than just fragment list animations, for example clickable links. Are there other potential libraries in this space that might generate more dynamic powerpoint content?

djmcgreal-cc avatar Jul 07 '21 10:07 djmcgreal-cc

@djmcgreal-cc Actually PptxGenJS is well-maintained and full-featured library for Node.js. However, we are not using features for dynamic contents (including hyperlink) because reproducing the power of expression about HTML/CSS through them is unreasonably hard. e.g. HTML to PowerPoint by PptxGenJS is focusing only to the table.

Marp is focusing to visual reproducibility of generated HTML slide than interactivity of the slide (clickable link, media, animation, etc). Thus, we take an approach to take a picture of slide and set it as the background image. This approach is actually same as GitPitch (shutted down). If you want more interactivity, just using HTML slide is the best.

Another solution to make PPTX with hyperlink and editability from Marp Markdown is already explained in https://github.com/marp-team/marp/discussions/82.

yhatt avatar Jul 07 '21 11:07 yhatt

Thank you yhatt.

We can present using the web version but must distribute via PowerPoint. As such, links are important - so it's good to know that the PDF to PPT route exists. In this case it needs to be automated in a CI process. Could you recommend a good command line tool that's somewhat the equivalent of https://www.adobe.com/uk/acrobat/online/pdf-to-ppt.html?

djmcgreal-cc avatar Jul 08 '21 09:07 djmcgreal-cc

No. As already described in marp-team/marp#82, I have never seen FLOSS CLI tool for converting PDF to PPTX. Even if exists, it would take the same approach as Marp.

In addition, there is really few choice even in the commercial product: Adobe community has answered simply "No" for command line solution of PDF -> PPTX via Adobe Acrobat. As far as I saw, any alternative products (Solid Converter, Smallpdf desktop, Foxit PDF editor, Nitro PDF, etc...) also have not the command line interface.

yhatt avatar Jul 08 '21 14:07 yhatt

Hi, I am a beginner of marp, and I have a similar issue for fragmented lists. Animation does not work even in HTML or PDF. The sample code is essentially the same with the above:

---
marp: true
---
* test
* test2

My system is

  • OSX 10.15.7(19H1419)
  • Marp for VS Code v1.4.7
  • Visual Studio Code: 1.63.2 (Universal)

Or, do we need any additional setting to enable fragmented lists?

junichiyamasaki avatar Jan 27 '22 08:01 junichiyamasaki

@junichiyamasaki This issue is for discussion about fragmented list in PPTX conversion in Marp CLI.

If not worked in HTML, please start a new discussion in https://github.com/marp-team/marp/discussions, or open a new issue to a corresponding repository (marp-vscode) with filling bug form.

yhatt avatar Jan 27 '22 17:01 yhatt

@yhatt Thank you for the guidance. I have just reported from the marp-vscode bug form.

junichiyamasaki avatar Jan 28 '22 04:01 junichiyamasaki