I created an action to open markdown urls in a draft - download from the action directory here
this action was build by inspiration form this entry in the drafts forum: I can’t seem to open a URL from a scrip
Credits to @RoyRogers - i stole some code from your examples and actions…
This action will search the current draft for markdown formatted urls - e.g. (I inserted a „]‘(„ between the brackets to prevent the description to display only the urls):
[Google]([www.google.com](http://www.gogle.com/)) this is famous search engine text before [Bear](bear://) and text after [text in brackets, no problem] [OneNote](onenote://open) [Google]([www.gogle.com](http://www.gogle.com/)) [BBC](https://actions.getdrafts.com/a/www.bbc.co.uk)
It will search through the draft immediately open the url if only one url is inside the draft.
If there are several urls, a prompt with the URL titles as buttons will be displayed to select the url to open.
The urls are opened with safari, to enable „callback“ links (e.g. drafts://open…)