Closed MartinPacker closed 2 years ago
See also Issue 106.
Only going to do this for disk-based files, not web-sourced. Prototype works with SVG and requires metadata exportSVG: yes
.
Coded, tested, documented. Will be in the next release.
Actually works with web-based graphics, too. Enabling syntax is exportGraphics: yes
because of EPS support Issue 106.
Released in v2.5.
SVG, for example, is converted to .PNG using CairoSVG. EPS would - if supported - be converted to .PNG also.
For other Markdown processors the .PNG might be useful. For example mdpre might switch the file extension - based on a variable setting.
So the idea is to optionally save the generated .PNG files with the same filename but .PNG as the extension.