Again, I’m asking here because of the accumulated Markdown experience - and because I consider Drafts a kind of reference implementation…
… What types of graphic should ![]()
syntax support?
Obviously .PNG and .GIF and JPEG. But what else?
Today md2pptx supports these - well .PNG at least and probably JPEG.
It also converts SVG into .PNG under the covers - if you install CairoSVG.
I expect SVG is supported by Markdown and HTML.
But what about Encapsulated Postscript (EPS)? I doubt Markdown or HTML support it directly. It would imply an interpreter in every browser.
I could make md2pptx support EPS - and that would be a documented deviation from Markdown - if it were a deviation at all. I think it would be useful.
Today SVG support is done in md2pptx, as I say, by rendering to a bitmap - targeting a particular pair of dimensions. EPS support would do the same. This conversion is necessary as I don’t believe python-pptx can handle these file types explicitly.
(I’ve asked for better documentation of what graphics file types python-pptx supports.)