MartinPacker / md2pptx

Markdown To PowerPoint converter
MIT License
206 stars 31 forks source link

Is there any tutorial on converting ppt to markdown language, besides examples? #145

Closed Bruce337f closed 8 months ago

Bruce337f commented 8 months ago

I tried to convert ppt to markdown language through python-pptx, but the converted result has no effect on md2pptx. How can I prefetch results similar to the markdown example you gave? Any good ideas?

And can it retain the original format, such as font style, size, position, etc.?

This is a good project! !

MartinPacker commented 8 months ago

Hi. Thanks for your kind words.

Unfortunately md2pptx doesn't do what I think you're looking for:

  1. It doesn't deal with .ppt at all (only .pptx).
  2. It doesn't convert from .pptx to Markdown. It's the other way round: Generating .pptx from Markdown.

I don't expect it to ever do either of these. It is perhaps feasible to write a python-pptx script to extract elements from a .pptx file and convert some of them to Markdown format. But I don't intend this project to do that.

Bruce337f commented 8 months ago

Thanks for your reply, I'll find other ways to try!