Open reparke opened 5 years ago
Thank you for your helping to translate the issue from marp-team/marp-vscode#66 to marp-cli.
We have two approaches to realize:
:a: Add pre-rendered images of all steps provided by fragmented list as new slide pages. It's a realistic appraoch but the page index of exported slides may not match to real pages in Markdown.
:b: Add step images as slide animations. Most user would expect this behavior. However, @marp-team/pptx
(based on PptxGenJS) is not supported the animation and PptxGenJS is not too. We also cannot expect the implementation of animation in future version of PptxGenJS.
And we have to support rendering images of all animation frames by fragmented list in either case.
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 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.
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?
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.
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
Or, do we need any additional setting to enable fragmented lists?
@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 Thank you for the guidance. I have just reported from the marp-vscode bug form.
(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:
My system OS: Windows 10 Pro version 1803 (build 17134.885) VSCode: 1.37.1 Marp extension: 0.9.0