This example action is not very polished but meant to be a utility to work with the new local asset support in HTML previews.
If you create a folder at
iCloud Drive/Drafts/Library/Previews/images and place some images in it, this action will generate an HTML prompt displaying those images, allowing you to select one and have it insert a
![img](images/img.jpg] style Markdown image reference to that image which is compatible with HTML Previews.