Post selected text to Mastodon and return the resulting status' URL as a markdown-formatted hyperlink.
Directory Description
Post selected text to Mastodon (if no text is selected, the entire draft contents will be passed) and return the resulting status' URL as a markdown-formatted hyperlink.
IMPORTANT: Before using this action, edit the first to “Define Template Tag” steps to enter the Mastodon instance host and credential identifier to use.
The differences/additions are as follows:
If any text is selected at run, only the selection will be passed as the status content. For my own uses, this is/has long been a must, as I use an assigned keyboard shortcut to call this (and other social posting) action(s.)
By default, the URL to the resulting status (Ex:https://mastodon.social/@DavidBlue/109950043272210317) is inserted in Markdown format after a line break, following a hyphen and a space (to form an unordered list item.) The text of the hyperlink is Mastodon out of the box, but this can easily be modified by editing the final Define Template Tag action step.
Said status URL is also copied to the system clipboard.
Selection to Mastodon Action
Updated
03012023-155813
Social
Description
Post selected text to Mastodon and return the resulting status' URL as a markdown-formatted hyperlink.
Directory Description
Post selected text to Mastodon (if no text is selected, the entire draft contents will be passed) and return the resulting status' URL as a markdown-formatted hyperlink.
This is a modified version of the Post to Mastodon (Script) Action shared by agiletortoise.
As such, this advisory applies:
The differences/additions are as follows:
https://mastodon.social/@DavidBlue/109950043272210317
) is inserted in Markdown format after a line break, following a hyphen and a space (to form an unordered list item.) The text of the hyperlink isMastodon
out of the box, but this can easily be modified by editing the final Define Template Tag action step.JS
Install