md2pptx can now do useful things with
data: URIs. Drafts has been able to for a long time.
I’d like to write an action that was useful in converting images to
The one thing that looks useful, other than writing something myself, is this: The FileReader API. The resulting
data: URI would then be pasted with surrounding
( ... ) and pasted into the current draft.
I think I can cajole FileReader into fetching a graphic from the web and converting it - with readAsDataURL(). But that won’t work for files on macOS and I’ve no idea what is useful on iOS or iPadOS.
I’d really like to create a useful action.