Action
Share with schof.link
Shares a markdown document using schof.link, giving it a public link you can share.
Steps
-
script
var http = HTTP.create(); var response = http.request({ "url": "https://schof.link/api/md", "method": "POST", "data": { "content":draft.content } }); if (response.success) { var data = response.responseData; app.setClipboard(data.publicUrl); } else { console.log(response.statusCode); console.log(response.error); }
-
url
template [[clipboard]]
useSafari false
encodeTags false
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.