Drafts Cult
5 subscribers
20 photos
3 videos
4 files
495 links
An *unofficial* resource for docs, updates, and tips for Drafts. https://getdrafts.com
Download Telegram
Discord Spoiler Tags (||)
https://actions.getdrafts.com/a/2CA

A direct duplicate of agiletortoise’s Markdown scripting actions which wrap standard formatting around selected text. For the sake of “Spoiler Tags (https://support.discord.com/hc/en-us/articles/360022320632-Spoiler-Tags-)” formatting on Discord, this action adds || on both sides of selected text. If no text is selected, a single set is added at the cursor’s position.
Posted by David BlueInstall (drafts5://action?identifier=2CA&data=%7B%22uuid%22:%223D1464B6-B521-4810-BBA2-25FDC425FCB5%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22//%20Apply%20Markdown%20bold%20to%20selection,%20or%20insert%20**%20if%20no%20selection%5Cnconst%20markup%20=%20%5C%22%7C%7C%5C%22;%5Cn%5Cnconst%20sel%20=%20editor.getSelectedText();%5Cnconst%20%5Bst,%20len%5D%20=%20editor.getSelectedRange();%5Cn%5Cnif%20(!sel%20%7C%7C%20sel.length%20==%200)%20%7B%5Cn%20%20editor.setSelectedText(markup);%5Cn%20%20editor.setSelectedRange(st%20+%20markup.length,0);%5Cn%7D%5Cnelse%20%7B%5Cn%20%20editor.setSelectedText(markup%20+%20sel%20+%20markup);%5Cn%20%20editor.setSelectedRange(st%20+%20len%20+%20(markup.length*2),0);%5Cn%7D%5Cn%22,%22allowAsync%22:%22false%22%7D,%22type%22:%22script%22,%22isEnabled%22:true,%22uuid%22:%22E32F05ED-BB50-4E45-861B-1368F3855719%22%7D%5D,%22backingPlatforms%22:3,%22shortName%22:%22%22,%22shouldConfirm%22:false,%22disposition%22:0,%22keyCommand%22:%7B%22optionKey%22:true,%22input%22:%22H%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Discord%20Spoiler%20Tags%20(%7C%7C)%22,%22shiftKey%22:false%7D,%22logLevel%22:2,%22groupDisposition%22:0,%22notificationType%22:2,%22tintColor%22:%22blue%22,%22actionDescription%22:%22Apply%20double%20vertical%20bars%20(%7C%7C)%20around%20selection,%20or%20insert%20%7C%7C%20if%20no%20selection.%22,%22keyUseIcon%22:false,%22icon%22:%22chat-alert-alt%22,%22visibility%22:480,%22backingIsSeparator%22:false,%22groupUUID%22:%22BA553164-8629-4DA7-8D10-38480B9DD85E%22,%22assignTags%22:%5B%5D,%22name%22:%22Discord%20Spoiler%20Tags%20(%7C%7C)%22%7D)
save drafts from date
https://actions.getdrafts.com/a/2CE

simple consolidation of all drafts (modified/created choice) for one day or between dates, into one file, and script options for full output to drafts, icloud, bookmark. Edit the script for output choices, or exact phrasing of filenames, divider separating drafts.

ONE NON-FATAL BUG – If the date(s) are changed (runtime), the screen may grey out, as if dysfunctional, but the programs still runs fine, just click the “consolidate” button when you are through. Visually, easiest if the date change is the LAST thing you do.
Posted by LacsmithInstall (drafts5://action?identifier=2CE&data=%7B%22uuid%22:%2203FD337B-FFE3-4A85-830D-52D743BF3B5D%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22require()
save drafts from date - text dates
https://actions.getdrafts.com/a/2CF

simple consolidation of all drafts (modified/created choice) for one day or between dates, into one big file, and script options for full output to drafts, icloud, bookmark. Edit the script for output choices, or exact phrasing of filenames, divider separating drafts, etc.

same as prior drafts from date, except date entry is for text box, not datepicker. All works.
Posted by LacsmithInstall (drafts5://action?identifier=2CF&data=%7B%22uuid%22:%2203FD337B-FFE3-4A85-830D-52D743BF3B5D%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22//%20today_to_file.js%5Cnvar%20datename=)
Catppuccin (Mocha) Theme
https://actions.getdrafts.com/t/2CG

Catppuccin (Mocha) Theme

This port is based off of the Catppuccin Mocha Theme.

It is a great community and can be found here:

https://github.com/catppuccin/catppuccin
Posted by Walt RyanInstall (x-drafts://importtheme?identifier=2CG&data=%7B%22isHidden%22:false,%22source%22:%22%7B%5C%22name%5C%22:%5C%22Catppuccin%20(Mocha)%20Theme%5C%22,%5C%22description%5C%22:%5C%22This%20port%20is%20based%20off%20of%20the%20Catppuccin%20Mocha%20theme.%20It%20is%20a%20great%20community%20and%20can%20be%20found%20here:%5C%5Cn%5C%5Cnhttps://github.com/catppuccin/catppuccin%5C%22,%5C%22author%5C%22:%5C%22Walt%20Ryan%5C%22,%5C%22isDark%5C%22:true,%5C%22colors%5C%22:%7B%5C%22editor%5C%22:%7B%5C%22foreground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22background%5C%22:%5C%22%23313244%5C%22,%5C%22heading%5C%22:%5C%22%23cba6f7%5C%22,%5C%22strikethrough%5C%22:%5C%22%23f9e2af%5C%22,%5C%22comment%5C%22:%5C%22%236272a4%5C%22,%5C%22link%5C%22:%5C%22%2389b4fa%5C%22,%5C%22activeLink%5C%22:%5C%22%2389b4fa%5C%22,%5C%22code%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22codeBackground%5C%22:%5C%22%2344475a%5C%22,%5C%22literal%5C%22:%5C%22%23f9e2af%5C%22,%5C%22keyword%5C%22:%5C%22%23f5c2e7%5C%22,%5C%22markup%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22addition%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22deletion%5C%22:%5C%22%23eba0ac%5C%22,%5C%22substitution%5C%22:%5C%22%23fab387%5C%22,%5C%22highlight%5C%22:%5C%22%2344475a%5C%22,%5C%22invisibles%5C%22:%5C%22%2344475a%5C%22,%5C%22accent01%5C%22:%5C%22%23cba6f7%5C%22,%5C%22accent02%5C%22:%5C%22%23f5c2e7%5C%22,%5C%22accent03%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22accent04%5C%22:%5C%22%2389b4fa%5C%22,%5C%22accent05%5C%22:%5C%22%23fab387%5C%22,%5C%22accent06%5C%22:%5C%22%23f9e2af%5C%22%7D,%5C%22interface%5C%22:%7B%5C%22textForeground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22textBackground%5C%22:%5C%22%23313244%5C%22,%5C%22textSelection%5C%22:%5C%22%236c7086%5C%22,%5C%22textHighlight%5C%22:%5C%22%236c7086%5C%22,%5C%22textCaret%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22foreground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22caption%5C%22:%5C%22%23b4befe%5C%22,%5C%22background%5C%22:%5C%22%23313244%5C%22,%5C%22backgroundCollection%5C%22:%5C%22%231e1e2e%5C%22,%5C%22border%5C%22:%5C%22%231e1e2e%5C%22,%5C%22tint%5C%22:%5C%22%23cba6f7%5C%22,%5C%22tintAlternate%5C%22:%5C%22%236272a4%5C%22,%5C%22flagged%5C%22:%5C%22%23fab387%5C%22,%5C%22move%5C%22:%5C%22%2389b4fa%5C%22,%5C%22delete%5C%22:%5C%22%23eba0ac%5C%22,%5C%22tagForeground%5C%22:%5C%22%231e1e2e%5C%22,%5C%22tagBackground%5C%22:%5C%22%23cba6f7%5C%22,%5C%22tagAddHighlight%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22tagRemoveHighlight%5C%22:%5C%22%23eba0ac%5C%22,%5C%22promptBackground%5C%22:%5C%22%231e1e2e%5C%22,%5C%22promptButtonBackground%5C%22:%5C%22%23cba6f7%5C%22,%5C%22promptButtonForeground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22promptButtonDestructiveForeground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22promptButtonDestructiveBackground%5C%22:%5C%22%23eba0ac%5C%22,%5C%22actionBarBackground%5C%22:%5C%22%231e1e2e%5C%22,%5C%22actionBarKeyBackground%5C%22:%5C%22%23181825%5C%22,%5C%22actionBarKeyForeground%5C%22:%5C%22%236272a4%5C%22,%5C%22messageForeground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22messageSuccess%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22messageInfo%5C%22:%5C%22%23cba6f7%5C%22,%5C%22messageWarning%5C%22:%5C%22%23fab387%5C%22,%5C%22messageError%5C%22:%5C%22%23eba0ac%5C%22,%5C%22tintGray%5C%22:%5C%22%236272a4%5C%22,%5C%22tintRed%5C%22:%5C%22%23f38ba8%5C%22,%5C%22tintPink%5C%22:%5C%22%23f5c2e7%5C%22,%5C%22tintOrange%5C%22:%5C%22%23fab387%5C%22,%5C%22tintYellow%5C%22:%5C%22%23f9e2af%5C%22,%5C%22tintGreen%5C%22:%5C%22%23a6e3a1%5C%22,%5C%22tintIndigo%5C%22:%5C%22%23cba6f7%5C%22,%5C%22tintBlue%5C%22:%5C%22%2389b4fa%5C%22,%5C%22tintViolet%5C%22:%5C%22%23b4befe%5C%22,%5C%22widgetBackground%5C%22:%5C%22%23313244%5C%22,%5C%22widgetBackgroundAlternate%5C%22:%5C%22%231e1e2e%5C%22,%5C%22widgetForeground%5C%22:%5C%22%23cdd6f4%5C%22,%5C%22widgetForegroundAlternate%5C%22:%5C%22%23bac2de%5C%22%7D%7D,%5C%22scopes%5C%22
:%7B%5C%22color.blue%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22link%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.indigo%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent01%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.purple%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent01%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.pink%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent02%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.red%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22deletion%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.orange%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.yellow%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.green%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent03%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.black%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22highlight%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.white%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22background%5C%22:%5C%22background%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22%7D%7D,%5C%22color.gray%5C%22:%7B%5C%22settings%5C%22:%7B%7D%7D,%5C%22color.accent01%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent01%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.accent02%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent02%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.accent03%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent03%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.accent04%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent04%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.accent05%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22color.accent06%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.normal%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22fontStyle%5C%22:%5C%22normal%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.normal.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.normal.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.normal.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.normal.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bold%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bold.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bold.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontSize%5C%22:%5C
%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bold.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bold.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.italic%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.italic.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.italic.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.italic.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.italic.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bolditalic%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bolditalic.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bolditalic.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bolditalic.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.bolditalic.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.extraSm
all%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.bold%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.bold.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.bold.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.bold.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.bold.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.italic%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic,%20monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.italic.large%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic,%20monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.italic.extraLarge%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic,%20monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.italic.small%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic,%20monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22small%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.monospace.italic.extraSmall%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic,%20monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22extraSmall%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.underline%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22underline%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22heading%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading01%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22heading%5C%22,%5C%22fontSize%5C%22:%5C%22extraLarge%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading02%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent02%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading03%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent03%5C%22,%5C%22fontSize%5C%22:%5C%22normal%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading04%5C%22:%7B%5C%22settings%5C%22:%7B%5
C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent04%5C%22,%5C%22fontSize%5C%22:%5C%22normal%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading05%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22fontSize%5C%22:%5C%22normal%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.heading06%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontWeight%5C%22:%5C%22bold%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22fontSize%5C%22:%5C%22normal%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.url%5C%22:%7B%5C%22name%5C%22:%5C%22URL%5C%22,%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22link%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.link%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent02%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.activeLink%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22activeLink%5C%22,%5C%22fontStyle%5C%22:%5C%22underline%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.linkModeLink%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22activeLink%5C%22,%5C%22fontStyle%5C%22:%5C%22underline%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.quotation%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.strikethrough%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22strikethrough%5C%22,%5C%22foreground%5C%22:%5C%22strikethrough%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22text.invisibles%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22invisibles%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22markup%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.heading%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22heading%5C%22,%5C%22fontSize%5C%22:%5C%22large%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.quotation%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22normal%5C%22,%5C%22foreground%5C%22:%5C%22accent06%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.list%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent04%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.link%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.code%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22code%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22markup.addition%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22addition%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.deletion%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22deletion%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.substitution%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22italic%5C%22,%5C%22foreground%5C%22:%5C%22substitution%5C%22,%5C%22background%5C%22:%5C%22background%5C%22%7D%7D,%5C%22markup.highlight%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22background%5C%22:%5C%22highlight%5C%22,%5C%22foreground%5C%22:%5C%22foreground%5C%22%7D%7D,%5C%22code.comment%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22comment%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22code.inline%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22fontStyle%5C%22:%5C%22monospace%5C%22,%5C%22foreground%5C%22:%5C%22code%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22code.block%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22f
ontStyle%5C%22:%5C%22monospace%5C%22,%5C%22foreground%5C%22:%5C%22accent05%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22code.literal%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22literal%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22code.keyword%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22keyword%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D,%5C%22code.operator%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22accent02%5C%22%7D%7D,%5C%22code.punctuation%5C%22:%7B%5C%22settings%5C%22:%7B%5C%22foreground%5C%22:%5C%22foreground%5C%22,%5C%22background%5C%22:%5C%22codeBackground%5C%22%7D%7D%7D%7D%22,%22name%22:%22Catppuccin%20(Mocha)%20Theme%22,%22identifier%22:%2220A4C8BA-CD45-4CD7-B61B-46BEB2B001AD%22,%22sortIndex%22:1660850892.085585%7D)
Insert Highlight
https://actions.getdrafts.com/a/2CK

Wrap the current selection in highlight markers. There are two “modes” for this, controlled by the template definition steps.

By default, the WRAP tag is enabled, and double equality symbols will be applied to the selection for simple highlighting - e.g. “==selection==”.

If you wish to apply full critic markup, then disable the WRAP tag, and enable the PREFIX and SUFFIX custom template tags in the action steps. This will work as for WRAP, but include the additional braces - e.g. “{==selection==}”

If no selection has been made, the cursor will be positioned between the markers. If a selection has been made, the cursor will be placed after the selection and the suffix.

If the text is already wrapped in the highlight markers, and you select the text or the text and highlight markers, running this action will strip the markers leaving just the unhighlighted text, with the cursor positioned after the text.
Posted by sylumerInstall (drafts5://action?identifier=2CK&data=%7B%22uuid%22:%229CBCAD12-C164-4665-A77A-B91DCD94A553%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22template%22:%22==%22,%22name%22:%22WRAP%22,%22templateType%22:%22legacy%22%7D,%22type%22:%22defineTemplateTag%22,%22isEnabled%22:true,%22uuid%22:%224AF5C5E3-B89C-463F-A801-AE0A2F66F478%22%7D,%7B%22platforms%22:0,%22data%22:%7B%22template%22:%22%7B==%22,%22name%22:%22PREFIX%22,%22templateType%22:%22legacy%22%7D,%22type%22:%22defineTemplateTag%22,%22isEnabled%22:false,%22uuid%22:%224CF00FC3-9248-46B4-B9CE-7064EDDD9592%22%7D,%7B%22platforms%22:0,%22data%22:%7B%22template%22:%22==%7D%22,%22name%22:%22SUFFIX%22,%22templateType%22:%22legacy%22%7D,%22type%22:%22defineTemplateTag%22,%22isEnabled%22:false,%22uuid%22:%220EA06234-8BF0-4928-8B47-395B81FE1F29%22%7D,%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22//%20Set%20up%20variables%20for%20prefix%20and%20suffix%5Cnlet%20strPrefix;%5Cnlet%20strSuffix;%5Cn%5Cnif(draft.getTemplateTag(%5C%22WRAP%5C%22)%20==%20%5C%22%5C%22)%5Cn%7B%5Cn%5Ct//%20No%20WRAP%20tag%20defined,%20so%20we%20must%20use%20PREFIX%20and%20SUFFIX%5Cn%5Ct//%20One%20of%20both%20of%20them%20may%20not%20be%20defined%20in%20which%20case%20the%20prefix%20%5Cn%5Ct//%20and/or%20suffix%20will%20be%20an%20empty%20string,%20allowing%20just%20for%20prefixes%5Cn%5Ct//%20or%20just%20for%20suffixes.%5Cn%5CtstrPrefix%20=%20draft.getTemplateTag(%5C%22PREFIX%5C%22);%5Cn%5CtstrSuffix%20=%20draft.getTemplateTag(%5C%22SUFFIX%5C%22);%5Cn%7D%5Cnelse%5Cn%7B%5Cn%5Ct//%20Wrap%20tag%20is%20defined,%20so%20prefix%20and%20suffix%20are%20identical%5Cn%5CtstrPrefix%20=%20draft.getTemplateTag(%5C%22WRAP%5C%22);%5Cn%5CtstrSuffix%20=%20strPrefix;%5Cn%7D%5Cn%5Cn//%20Get%20selection%20range%20details%20from%20editor%5Cnlet%20rngSelected%20=%20editor.getSelectedRange();%5Cn%5Cn//%20Check%20if%20we%20are%20adding%20or%20undoing%20the%20insertion%5Cn//%20If%20the%20text%20before%20and%20after%20is%20the%20prefix/suffix,%20extend%20the%20selection%5Cnlet%20strBeforeSelection%20=%20editor.getTextInRange(rngSelected%5B0%5D%20-%20strPrefix.length,%20strPrefix.length);%5Cnlet%20strAfterSelection%20=%20editor.getTextInRange(rngSelected%5B0%5D%20+%20rngSelected%5B1%5D,%20strSuffix.length);%5Cnif(strBeforeSelection%20==%20strPrefix%20%5Cu0026%5Cu0026%20strAfterSelection%20==%20strSuffix)%5Cn%7B%5Cn%5Ct//%20Extend%20the%20range%20and%20update%20thje%20variable%20for%20the%20selection%20range%5Cn%5Cteditor.setSelectedRange(rngSelected%5B0%5D%20-%20strPrefix.length,%20strPrefix.length%20+%20rngSelected%5B1%5D%20+%20strSuffix.length);%5Cn%5CtrngSelected%20=%20editor.getSelectedRange();%5Cn%7D%5Cn%5Cn//%20Get%20selection%20content%5Cnlet%20strSelection%20=%20editor.getSelectedText();%5Cn%5Cnif(strSelection.startsWith(strPrefix)%20%5Cu0026%5Cu0026%20strSelection.endsWith(strSuffix))%5Cn%7B%5Cn%5Ct//%20Remove%20the%20selection%20and%20position%20the%20cursor%5Cn%5Cteditor.setSelectedText(strSelection.substring(strPrefix.length,%20strSelection.le
ngth%20-%20strSuffix.length%20));%5Cn%5CtrngSelected%20=%20editor.getSelectedRange();%5Cn%5Cteditor.setSelectedRange(rngSelected%5B0%5D%20+%20rngSelected%5B1%5D,%200);%5Cn%7D%5Cnelse%5Cn%7B%5Cn%5Ct//Add%20the%20selection%5Cn%5Cn%5Ct//%20Replace%20the%20selection%20and%20position%20the%20cursor.%5Cn%5Ctif%20(!strSelection%20%7C%7C%20strSelection.length%20==%200)%5Cn%5Ct%7B%5Cn%5Ct%5Cteditor.setSelectedText(strPrefix%20+%20strSuffix);%5Cn%5Ct%5Cteditor.setSelectedRange(rngSelected%5B0%5D%20+%20strPrefix.length,%200);%5Cn%5Ct%7D%5Cn%5Ctelse%5Cn%5Ct%7B%5Cn%5Ct%5Cteditor.setSelectedText(strPrefix%20+%20strSelection%20+%20strSuffix);%5Cn%5Ct%5Cteditor.setSelectedRange(rngSelected%5B0%5D%20+%20rngSelected%5B1%5D%20+%20strPrefix.length%20+%20strSuffix.length,%200);%5Cn%5Ct%7D%5Cn%7D%5Cn%5Cn//%20Activate%20the%20editor%20for%20the%20selection%5Cneditor.activate();%5Cn%22,%22allowAsync%22:%22false%22%7D,%22type%22:%22script%22,%22isEnabled%22:true,%22uuid%22:%22BE38CE89-A255-4B11-B85A-84FEE50A71F8%22%7D%5D,%22backingPlatforms%22:3,%22shortName%22:%22%22,%22shouldConfirm%22:false,%22disposition%22:3,%22keyCommand%22:%7B%22optionKey%22:false,%22input%22:%22%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Insert%20Highlight%22,%22shiftKey%22:false%7D,%22logLevel%22:1,%22groupDisposition%22:0,%22notificationType%22:1,%22tintColor%22:%22yellow%22,%22actionDescription%22:%22Wrap%20the%20current%20selection%20in%20highlight%20markers.%20There%20are%20two%20%5C%22modes%5C%22%20for%20this,%20controlled%20by%20the%20template%20definition%20steps.%5Cn%5CnBy%20default,%20the%20WRAP%20tag%20is%20enabled,%20and%20double%20equality%20symbols%20will%20be%20applied%20to%20the%20selection%20for%20simple%20highlighting%20-%20e.g.%20%5C%22==selection==%5C%22.%5Cn%5CnIf%20you%20wish%20to%20apply%20full%20critic%20markup,%20then%20disable%20the%20WRAP%20tag,%20and%20enable%20the%20PREFIX%20and%20SUFFIX%20custom%20template%20tags%20in%20the%20action%20steps.%20This%20will%20work%20as%20for%20WRAP,%20but%20include%20the%20additional%20braces%20-%20e.g.%20%5C%22%7B==selection==%7D%5C%22%5Cn%5CnIf%20no%20selection%20has%20been%20made,%20the%20cursor%20will%20be%20positioned%20between%20the%20markers.%20If%20a%20selection%20has%20been%20made,%20the%20cursor%20will%20be%20placed%20after%20the%20selection%20and%20the%20suffix.%5Cn%5CnIf%20the%20text%20is%20already%20wrapped%20in%20the%20highlight%20markers,%20and%20you%20select%20the%20text%20or%20the%20text%20and%20highlight%20markers,%20running%20this%20action%20will%20strip%20the%20markers%20leaving%20just%20the%20unhighlighted%20text,%20with%20the%20cursor%20positioned%20after%20the%20text.%22,%22keyUseIcon%22:false,%22icon%22:%22action_preview%22,%22visibility%22:480,%22backingIsSeparator%22:false,%22groupUUID%22:%22C8AA8199-DC6A-41D6-8285-C9F2F7F7F13A%22,%22assignTags%22:%5B%5D,%22name%22:%22Insert%20Highlight%22%7D)
Drafts Beta Update - 32.5 (117)

Slack

iOS Build

Details on Drafts Beta program and current known issues

Please report issues/feedback to mailto:support@getdrafts.com. TestFlight feedback is fine, but don’t expect to get an answer.

32.5 (117)

• All Platforms
• Build with Xcode 14 beta 6.
• Focus Filter…because why not. On the OS betas you can now configure a focus filter for your focus modes. Options available are to apply a workspace, open a specific draft, and load action groups.
• New “Quick Search in Drafts” Shortcuts intent (iOS 16/macOS 13 only)
• Updates to default action groups.
• Suggested action groups not appearing when selecting in Intent parameters on iOS 16.
• Better handling of rare catastrophic failure states that no one should ever see.
• Performance and memory use improvements

• iOS
• Clean up some lock screen widget layout issues and edge cases.
• Fix issue with date picker dismissal in prompts.
• A File action step configured to write to a Bookmark could generate a blank tag if no tags were assigned.

• Mac
• Holding down option key when using “Workspaces” menu in the main menu will open the workspace in a new window.

32.5 (115)

• All Platforms
• Some minor design improvements to a number of action icons. Add Wordpress logo icon.

• iOS
• Action separators not displaying focus in action list.
• Recent actions now available in long press menu of action list button at top right of the editor.
Edit in External Editor
https://actions.getdrafts.com/a/2Cp

Edit the current draft in an external editor of your choice (Mac only).

See GitHub README (https://github.com/ernstwi/drafts-external-editor#readme) for details.
Posted by ernstwiInstall (drafts5://action?identifier=2Cp&data=%7B%22uuid%22:%220ACE16C5-40AA-4C08-86A1-EA5FAF7289AC%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22let%20EDITOR%20=%20)
Make Proxy File
https://actions.getdrafts.com/a/2Cq

Part of a workflow for editing drafts in an external editor (Mac only).

See GitHub README (https://github.com/ernstwi/drafts-external-editor#readme) for details.
Posted by ernstwiInstall (drafts5://action?identifier=2Cq&data=%7B%22uuid%22:%22C84903E7-EE6C-4E76-8B16-312E8732D281%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22(function()%20%7B%5Cn%20%20%20%20let%20bookmark%20=%20Bookmark.findOrCreate(%5C%22proxy-files%5C%22);%5Cn%20%20%20%20let%20fm%20=%20FileManager.createForBookmark(bookmark);%5Cn%5Cn%20%20%20%20//%20TODO:%20Get%20file%20extension%20from%20draft%5Cn%20%20%20%20if%20(!fm.writeString(%60/%24%7Bdraft.uuid%7D.md%60,%20draft.content))%20%7B%5Cn%20%20%20%20%20%20%20%20alert(%5C%22Error:%20Couldn)
Delete Proxy File
https://actions.getdrafts.com/a/2Cr

Part of a workflow for editing drafts in an external editor (Mac only).

See GitHub README (https://github.com/ernstwi/drafts-external-editor#readme) for details.
Posted by ernstwiInstall (drafts5://action?identifier=2Cr&data=%7B%22uuid%22:%22FE329172-E52A-4B26-899E-A218C7CF13F8%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22function%20bash(script)%20%7B%5Cn%20%20%20%20let%20sh%20=%20ShellScript.create(%60%23!/usr/bin/env%20bash%5C%5Cn%24%7Bscript%7D%60);%5Cn%20%20%20%20if%20(!sh.execute())%20%7B%5Cn%20%20%20%20%20%20%20%20throw%20new%20Error(sh.standardError);%5Cn%20%20%20%20%7D%5Cn%7D%5Cn%5Cn(function()%20%7B%5Cn%20%20%20%20let%20bookmark%20=%20Bookmark.findOrCreate(%5C%22proxy-files%5C%22);%5Cn%20%20%20%20let%20fm%20=%20FileManager.createForBookmark(bookmark);%5Cn%20%20%20%20let%20file%20=%20%60%24%7Bfm.basePath%7D/%24%7Bdraft.uuid%7D.md%60;%5Cn%5Cn%20%20%20%20try%20%7B%5Cn%20%20%20%20%20%20%20%20bash(%60rm%20%24%7Bfile%7D%60);%5Cn%20%20%20%20%7D%20catch%20(e)%20%7B%5Cn%20%20%20%20%20%20%20%20alert(e);%5Cn%20%20%20%20%20%20%20%20return;%5Cn%20%20%20%20%7D%5Cn%7D)();%5Cn%22,%22allowAsync%22:%22false%22%7D,%22type%22:%22script%22,%22isEnabled%22:true,%22uuid%22:%2275478F9E-117A-41F2-85C8-CBE702D4ED9D%22%7D%5D,%22backingPlatforms%22:3,%22shortName%22:%22%22,%22shouldConfirm%22:false,%22disposition%22:3,%22keyCommand%22:%7B%22optionKey%22:false,%22input%22:%22%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Delete%20Proxy%20File%22,%22shiftKey%22:false%7D,%22logLevel%22:2,%22groupDisposition%22:0,%22notificationType%22:2,%22tintColor%22:%22none%22,%22actionDescription%22:%22Part%20of%20a%20workflow%20for%20editing%20drafts%20in%20an%20external%20editor%20(Mac%20only).%5Cn%5CnSee%20%5BGitHub%20README%5D(https://github.com/ernstwi/drafts-external-editor%23readme)%20for%20details.%22,%22keyUseIcon%22:false,%22icon%22:%22link-off%22,%22visibility%22:384,%22backingIsSeparator%22:false,%22groupUUID%22:%227C1211EB-D1B0-43E8-A43D-25B15A5EE346%22,%22assignTags%22:%5B%5D,%22name%22:%22Delete%20Proxy%20File%22%7D)
Make Proxy File and Edit in External Editor
https://actions.getdrafts.com/a/2Cs

Part of a workflow for editing drafts in an external editor (Mac only).

See GitHub README (https://github.com/ernstwi/drafts-external-editor#readme) for details.
Posted by ernstwiInstall (drafts5://action?identifier=2Cs&data=%7B%22uuid%22:%22478ED9BB-9229-4C26-B3BF-AC886F66F228%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22let%20EDITOR%20=%20)
Tag Spinner
https://actions.getdrafts.com/a/2Cy

Display multiple drafts based on tag.

Options to shuffle (to retrieve older drafts), require multiple tags, add backlinks.

Code options allow omitting tags, different quantities of drafts, modal defaults.

(Requires Drafts v33 or later, for Tag object and segmented control.)
Posted by @galtenbergInstall (drafts5://action?identifier=2Cy&data=%7B%22uuid%22:%2288761DF6-A33C-4995-9082-5669BD3A93FF%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22//%20This%20script%20requires%20a%20reusable%20draft%20%E2%80%93%20either%20set%20a%20UUID%20of%20a%20preferred%20draft,%20or%20one%20will%20be%20created%20with%20a%20tag%20designated%20below%5Cn%5Cnconst%20pinnedDraftUUID%20=%20%5C%22%5C%22%5Cnconst%20pinnedDraftTag%20=%20%5C%22tag-spinner%5C%22%5Cn%5Cn//////%20Other%20Preferences%20//////%5Cn%5Cnconst%20amtList%20=%20%5B1,%204,%2012%5D%20%20%20%20%20%20%20%20%20%20%20%20%20//%20add%20any%20amounts%20you%20like%5Cnconst%20amtDefault%20=%204%5Cn%5Cnconst%20keepVersions%20=%2010%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20//%20only%20keep%20this%20many%20versions%5Cn%5Cnconst%20pickRandomTag%20=%20false%5Cnconst%20linkDefault%20=%20%5C%22None%5C%22%5Cnconst%20shuffleDefault%20=%20false%5Cn%5Cn//%20Any%20tags%20you)
Complete Task AppleScript- Things 3
https://actions.getdrafts.com/a/2Cz

This creates the AppleScript needed to mark a task complete in Things 3.
Posted by Mike_BurkeInstall (drafts5://action?identifier=2Cz&data=%7B%22uuid%22:%221062A1AC-DCBE-4113-848F-398C49EA3202%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22promptKey%22:%22prompt%22,%22includeTextField%22:%22true%22,%22includeCancelButton%22:%22true%22,%22promptMessage%22:%22What%20is%20the%20name%20of%20the%20task%20in%20Things%203?%22,%22promptTitle%22:%22Name%20of%20Task%22,%22textFieldDefault%22:%22%22,%22promptButtons%22:%22OK%22%7D,%22type%22:%22prompt%22,%22isEnabled%22:true,%22uuid%22:%22C7B5A417-9168-4BF1-90EA-ECE905EFF6C4%22%7D,%7B%22platforms%22:3,%22data%22:%7B%22template%22:%22tell%20application%20%5C%22Things3%5C%22%5Cr%5Ct%5Cr%5Ctrepeat%20with%20toDo%20in%20to%20dos%20of%20list%20%5C%22Today%5C%22%5Cr%5Ct%5Ctif%20(name%20of%20toDo%20as%20text)%20is%20%5C%22%5B%5Bprompt_text%5D%5D%5C%22%20then%5Cr%5Ct%5Ct%5Ctset%20status%20of%20toDo%20to%20completed%5Cr%5Ct%5Ctend%20if%5Cr%5Ctend%20repeat%5Cr%5Ct%5Crend%20tell%22%7D,%22type%22:%22insertText%22,%22isEnabled%22:true,%22uuid%22:%22EF8129CD-9020-4D07-9BA0-EC9C5DBF1E77%22%7D%5D,%22backingPlatforms%22:3,%22shortName%22:%22%22,%22shouldConfirm%22:false,%22disposition%22:3,%22keyCommand%22:%7B%22optionKey%22:false,%22input%22:%22%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Complete%20Task%20AppleScript-%20Things%203%22,%22shiftKey%22:false%7D,%22logLevel%22:2,%22groupDisposition%22:0,%22notificationType%22:2,%22tintColor%22:%22blue%22,%22actionDescription%22:%22This%20creates%20the%20apple%20script%20needed%20to%20mark%20a%20task%20complete%20in%20OmniFocus.%22,%22keyUseIcon%22:false,%22icon%22:%22action_script%22,%22visibility%22:480,%22backingIsSeparator%22:false,%22groupUUID%22:%22DA191D99-8FE7-4602-BC94-AD3D41AC8819%22,%22assignTags%22:%5B%5D,%22name%22:%22Complete%20Task%20AppleScript-%20Things%203%22%7D)
Complete Task AppleScript- OmniFocus
https://actions.getdrafts.com/a/2DA

This creates the AppleScript needed to mark a task complete in OmniFocus.
Posted by Mike_BurkeInstall (drafts5://action?identifier=2DA&data=%7B%22uuid%22:%221AE690DB-A965-4D36-9909-B0EE9564405E%22,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22promptKey%22:%22prompt%22,%22includeTextField%22:%22true%22,%22includeCancelButton%22:%22true%22,%22promptMessage%22:%22What%20is%20the%20OmniFocus%20Task%20ID?%22,%22promptTitle%22:%22Task%20ID%22,%22textFieldDefault%22:%22%22,%22promptButtons%22:%22OK%22%7D,%22type%22:%22prompt%22,%22isEnabled%22:true,%22uuid%22:%22CF1F7651-342E-4940-BD62-1E9C86884C70%22%7D,%7B%22platforms%22:3,%22data%22:%7B%22template%22:%22tell%20application%20%5C%22OmniFocus%5C%22%5Cr%5Cttell%20front%20document%5Cr%5Ct%5Ctset%20myTask%20to%20task%20id%20%5C%22%5B%5Bprompt_text%5D%5D%5C%22%5Cr%5Ct%5Ctmark%20complete%20myTask%5Cr%5Ctend%20tell%5Crend%20tell%22%7D,%22type%22:%22insertText%22,%22isEnabled%22:true,%22uuid%22:%22DB81EF95-8259-4B5C-9ECA-04084065D2C5%22%7D%5D,%22backingPlatforms%22:3,%22shortName%22:%22%22,%22shouldConfirm%22:false,%22disposition%22:3,%22keyCommand%22:%7B%22optionKey%22:false,%22input%22:%22%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Complete%20Task%20AppleScript-%20OmniFocus%22,%22shiftKey%22:false%7D,%22logLevel%22:2,%22groupDisposition%22:0,%22notificationType%22:2,%22tintColor%22:%22none%22,%22actionDescription%22:%22This%20creates%20the%20apple%20script%20needed%20to%20mark%20a%20task%20complete%20in%20OmniFocus.%22,%22keyUseIcon%22:false,%22icon%22:%22%22,%22visibility%22:0,%22backingIsSeparator%22:false,%22groupUUID%22:%22DA191D99-8FE7-4602-BC94-AD3D41AC8819%22,%22assignTags%22:%5B%5D,%22name%22:%22Complete%20Task%20AppleScript-%20OmniFocus%22%7D)
Smart Detab
https://actions.getdrafts.com/a/2DB

Removes a tab the beginning of each of the selected lines.

If it is a list (starts with a tab followed by a “-“, “*”, or “+” followed by a space), it will outdent and move the cursor to the end of the line.
Posted by jochiInstall (drafts5://action?identifier=2DB&data=%7B%22notificationType%22:1,%22disposition%22:0,%22assignTags%22:%5B%5D,%22icon%22:%22action_left%22,%22groupDisposition%22:0,%22uuid%22:%22D8CC0122-BBD0-47A0-8841-650B5ED411F8%22,%22visibility%22:480,%22name%22:%22Smart%20Detab%22,%22groupUUID%22:%228F8D4E94-60D8-4C06-A321-5BD024C105B8%22,%22tintColor%22:%22none%22,%22backingPlatforms%22:3,%22keyCommand%22:%7B%22optionKey%22:false,%22input%22:%22%23TAB%22,%22controlKey%22:false,%22commandKey%22:false,%22type%22:%22action%22,%22discoverabilityTitle%22:%22Smart%20Detab%22,%22shiftKey%22:true%7D,%22keyUseIcon%22:true,%22backingIsSeparator%22:false,%22shortName%22:%22%22,%22backingActionType%22:%22action%22,%22actionDescription%22:%22Removes%20a%20tab%20the%20beginning%20of%20each%20of%20the%20selected%20lines.%20%5Cn%5CnIf%20it%20is%20a%20list%20(starts%20with%20a%20tab%20followed%20by%20a%20%E2%80%9C-%E2%80%9C,%20%E2%80%9C*%E2%80%9D,%20or%20%E2%80%9C+%E2%80%9D%20followed%20by%20a%20space),%20it%20will%20outdent%20and%20move%20the%20cursor%20to%20the%20end%20of%20the%20line.%22,%22logLevel%22:1,%22steps%22:%5B%7B%22platforms%22:3,%22data%22:%7B%22script%22:%22//%20list%20patterns%5Cnconst%20list_re%20=%20/%5E%5C%5Ct/gm;%5Cn%5Cn//%20grab%20state%5Cnlet%20%5BlnStart,%20lnLen%5D%20=%20editor.getSelectedLineRange();%5Cnlet%20lnText%20=%20editor.getTextInRange(lnStart,%20lnLen);%5Cnlet%20%5BselStart,%20selLen%5D%20=%20editor.getSelectedRange();%5Cn%5Cnlet%20outdent_lines%20=%20(l)%20=%5Cu003e%20%7B%5Cn%5Cn%5Ctlet%20lines;%5Cn%5Cn%5Ctif%20(l.match(list_re))%20%7B%5Cn%5Ct%5Ctlines%20=%20l.replace(list_re,%20%5C%22%5C%22);%5Cn%5Ct%7D%5Cn%5Ctreturn%20lines;%5Cn%5Cn%7D%5Cn%5Cnlet%20detabbed_text%20=%20outdent_lines(lnText);%5Cneditor.setTextInRange(lnStart,%20lnLen,%20detabbed_text);%5Cneditor.setSelectedRange(selStart)%20-%201;%22,%22allowAsync%22:%22false%22%7D,%22type%22:%22script%22,%22isEnabled%22:true,%22uuid%22:%222A3F4F85-C989-4A27-8EAC-83234F2B03CE%22%7D%5D,%22shouldConfirm%22:false%7D)