Giter VIP home page Giter VIP logo

Comments (4)

yhatt avatar yhatt commented on July 17, 2024

Any kind of animations and interactives are lost in PPTX conversion because we are rendering each slide pages as static image.

If we supported these, have to work for reproducing HTML rendering in PPTX. Honestly it's like a re-invintention of browser, and not realistic within the scope of Marp project.

There is similar discussion in #166 (comment).

from marp-cli.

asm0dey avatar asm0dey commented on July 17, 2024

TBH I've already discovered it while investigating structure of generated PPTX :)
Possibly there is a way to cut animated GIFs out of source and pasting them into slide at computed coordinates?

from marp-cli.

yhatt avatar yhatt commented on July 17, 2024

If you don't mind hacking Marp CLI, you can detect images from rendered HTML by Chrome / Chromium through Puppeteer, and add rendered animation GIF through PptxGenJs addImage() method.

Please remember a way to place image is not only <img>. Marp may take <figure> and style (background-image). Sometimes they also should consider visibility, z-index, overlapped text, filter, and a lot of expressive CSS.

...Yep, it's unrealistic for us. :p

from marp-cli.

asm0dey avatar asm0dey commented on July 17, 2024

OK, fair enough, I'll stick with HTML view :)

from marp-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.