Editorial Workflows

Recently Added

List URLs... https://goo.gl/mCA5gL List Urls | WordPress.org https://goo.gl/5u9q8p List all URLs | WordPress.org https://goo.gl/vcGduf Create a List of URLs | Search | Google Developers

Shows a list of URLs in the current document. Selecting https://goo.gl/tKAXKV What is the meaning of URL? - Quora https://goo.gl/vvwncI URL shortening - Wikipedia https://goo.gl/T6iZeq URL - schema.org https://goo.gl/96PGZL What is a URL? - Computer Business Review one of the URLs opens it in the browser panel.

Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

Editorial Backup

Saves or restores a backup of all Editorial workflows, snippets, bookmarks, and local documents as a zip file in Dropbox (this requires the Dropbox account to be linked). Please note: If you want to restore a backup on a different device, you first have to download the backup file (just tap on it in the document list). This is required because Editorial doesn't sync zip files by default. Restoring a backup will *overwrite* all existing workflows, snippets, and bookmarks, so it's possible that you'll lose data this way. The best way to avoid any data loss is to create a backup before restoring anything.

New YAML Front Matter

This workflow presents a series of menus where front matter data is collected then pastes the front matter into the current document. If anything is selected in the document prior to running this workflow, it will be replaced with the front matter. Front matter included: - Layout - Title - Subtitle - Permalink - Published - Tags - Image

Get callback URL

Get callback URL of the editorial file.

Workflow Backup...

Saves or restores a backup of all Editorial workflows in Dropbox (this requires the Dropbox account to be linked).

Workflow Backup...

Saves or restores a backup of all Editorial workflows in Dropbox (this requires the Dropbox account to be linked).

⬇ End

Jump caret to bottom of document

⬆ Start

Jump caret to top of document

Fontomatic

This markdown workflow provides options to select various fonts, sizes, and heading styles before previewing or creating a PDF. There is an option to save the settings to a local (fontomatic.txt) file. If a settings file is present, the workflow will go directly to the output options. The settings can also be cleared, to make new selections. It’s intended for use with everyday documents, letters, notes, etc. to add a few basic styles before emailing or printing. It’s also useful for quickly testing different font combinations and sizes before digging into templates and style sheets.

Full Share Dialog (entire file)

Use this to access the full Share bar within iOS. This will allow user to (for example) send the entire file to OneDrive (if installed), copy the file to the Files or Notes app, or any other action that displays in the full Share bar for their setup.

Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

Get Mailing List

This workflow extracts all email addresses in the current document/selection, or the clipboard, and copies them to the clipboard in a format suitable for pasting into the address line of email apps.

Statistics

Shows statistics about the selected text(word count etc.). If no text is selected, the statistics refer to the entire document.

New OmniFocus Project in Folder

Adding a nested conditional to exit the script if dialog values == None (in previous version it continued to call OF even if the dialog was cancelled) This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in a folder in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday. This is based on the original workflow shared by OmniGroup, modifications have been made to ask for the target folder and to place the project appropriately.

stopwatch

A stopwatch that's part of a collection of workflows I use to log exercises and workouts. If the caret sits in a line that doesn't contain a clock in the format "h:mm:ss", the workflow will add a blank clock wherever the caret is placed when the workflow is invoked. Once started, press the active workflow spinner (top right hand corner of the screen) to stop the clock. The workflow also allows for restarting a previously stopped clock... 2018-04-24

Backup to Local

This workflow copies the current document into a local folder. It defaults to the current file path, with .bak appended to the file name, but that can be changed before saving.

Backup to Dropbox

This workflow copies the current document into a Dropbox folder. It defaults to the current file path, with .bak appended to the file name, but that can be changed before saving.

Share with Images

Converts local image files that are referenced in the current (Markdown) document to equivalent base64-encoded data URIs. Afterwards, the document is converted to HTML and passed to a share sheet. This is a small modification to Ole Moritz’s “Send with Images” workflow. It can be used for alternative email apps or other apps that accept HTML. NOTE: Some older browsers limit the size of base64 encoded images, and it’s not very efficient. Best for small images like icons or logos.

Preview Remark.js

Create a quick and easy presentation using markdown and (remark)[http://remark.js]. Just create the presentation and use this workflow to view it. No need to install anything.

Mark Today

Designed for use with Taskpaper files. Insert a @today(yyyy-mm-dd) tag at the current cursor location. Opens an input box with the current year and month auto-filled and the cursor ready to type the day.

Set Reminder+

For use with Taskpaper. Visual prompt to set reminders. Afterwards automatically creates reminder in iOS reminders app Requires Set Reminders Script by chew-z (look for my updates in the comments)

Mark Due+

For use with Taskpaper. Presents Date Picker UI to create @due(yyyy-mm-dd) strings

Jekyll: New Post

Create a new Jekyll document including front-matter.

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Paste with consistent tab depth

When pasting a list of Taskpaper items (or any bulleted list) into another list, I find myself doing the following: - press return for new line - delete auto-generated space - delete auto-generated bullet (-) - paste And sometimes: - curse myself for forgetting that the tab depths of the items on the clipboard and the paste location are different - adjust indents on each line to match desired tab depth This workflow is just a way to make pasting a list into a list easier. Cut a list, place the cursor in the line you want the pasted items to appear after, and run— the workflow gets the current line, determines tab depth from that, and pastes the clipboard appropriately. Successive depths of indents within the pasted items are also respected. All usual disclaimers (it works for me; I accept no responsibility if your house falls down when you run this workflow, etc) apply. 2018-04-09 v 1.1 - now with added consistency (and all the difference a "+" makes in a regular expression...)! Also initialises tabcount as a zero value, for those of you copying unindented tasks into your lists.

Good Conversion

Bible Verse Block Quote

I updated the Bible ESV Block script by by @pfcbenjamin to version 3

FindQuoteByWord

This workflow searches a "quotes.md" file for a keyword you provide and then displays a picklist to select from. The selected quote is then copied to your clipboard.

Publish Post (rojcyk.com)

This workflow creates a gatsby post and saves it to a Git repository using Working Copy. To use this workflow, change the key and repo variables to match the key and repo name in Working Copy. The key must match the URL key found in Working Copy's Settings > App Integrations section. Working Copy must be installed to use this workflow. https://workingcopyapp.com

Look Up Scripture

New OmniFocus Project in Folder

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in a folder in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday. This is based on the original workflow shared by OmniGroup, modifications have been made to ask for the target folder and to place the project appropriately.

Flesch Readability Calculator

The Flesch Reading Ease Readability Formula The specific mathematical formula is: 1. RE = 206.835 – (1.015 x ASL) – (84.6 x ASW) 2. RE = Readability Ease 3. ASL = Average Sentence Length (i.e., the number of words divided by the number of sentences) 4. ASW = Average number of syllables per word (i.e., the number of syllables divided by the number of words) 5. The output, i.e., RE is a number ranging from 0 to 100. The higher the number, the easier the text is to read. • Scores between 90.0 and 100.0 are considered easily understandable by an average 5th grader. • Scores between 60.0 and 70.0 are considered easily understood by 8th and 9th graders. • Scores between 0.0 and 30.0 are considered easily understood by college graduates. • The score between 60 and 70 is largely considered acceptable. The following table is also helpful to assess the ease of readability in a document: * 90-100 : Very Easy • 80-89 : Easy • 70-79 : Fairly Easy • 60-69 : Standard • 50-59 : Fairly Difficult • 30-49 : Difficult • 0-29 : Very Confusing See: http://www.readabilityformulas.com/flesch-reading-ease-readability-formula.php http://www.readabilityformulas.com/freetests/six-readability-formulas.php

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Copy as OmniFocus URL

Based on Ken Case’s workflow for adding TaskPaper projects directly to OmniFocus, this one copies it to the clipboard as a URL so it can be a template that launches straight from a note in an OmniFocus task

WFCancelNotification

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Adjust done datetime

TLDR: add or subtract days, hours and minutes to/from done timestamps. TO USE: mark a task done, then invoke this workflow. The task must have a READ MORE: I keep a log of done tasks as part of a Quantified Self protocol. To support that effort, I mark tasks done with date and time, and it helps if the time is accurate to within the half hour at least. But I don't always mark a task done at the appropriate time. Particularly when I'm away from a device or working through a series of related tasks that flow into each other, I may not log done tasks until my end of day review. With a Bluetooth keyboard, it's not so hard, but if I'm working on screen (although a two-finger long press on the keyboard makes it relatively easy to position the caret for edits) I prefer this workflow for manipulating dates. Feel free to post comments and suggestions for improvement. V1.0 2018-03-08

Post to Dreamwidth/LiveJournal

This workflow posts to Dreamwidth or LiveJournal depending on user input, and could be set to post to other sites which are based on LiveJournal’s codebase and use the same XMLRPC API. The workflow fetches a tag list, automatically sets the location, and allows for the user's mood and music to be passed to LiveJournal before opening the entry in Safari. This must be combined with my Set Password workflow to work properly (the title of the service you set in the Set Password workflow must be the same as the one you select from the list in this workflow). In order to use this workflow, edit the 'username' variable to your username. This workflow was based in part on the 'Post to WordPress' workflow by Federico Viticci. It was also greatly informed by posts on both EllisLab and the lj-clients community on LiveJournal.

List URLs...

Shows a list of URLs in the current document. Selecting one of the URLs opens it in the browser panel.

MT PDF Export

Export markdown to PDF using custom CSS settings

Add to Scratchpad...

Shows an input dialog with the selected text or the contents of the clipboard. The result is appended to a "Scratchpad.txt" file.

add2inbox

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Markdown式URL

マークダウン式のURL(タイトル込み)を、最後に開いていたブラウザから取得

New Dated Section

For “diary” style documents, this workflow inserts the date at the beginning of the document as a second-level header, together with some blank lines.

Preview with Math

Render MathJax equations in Multimarkdown preview. You can customize the css since it's available as a variable. The default css is the Editorial one.

get_DailyArt_url

Get a oil painting website("https://www.getdailyart.com")'s information for reference. The very first step is copy the painting information page address(which you can get it from the DailyArt app share button, eg. "https://www.getdailyart.com/22464/cecilio-pia-y-gallardo/yachtwoman"), then run the workflow script, and you would get txt file with the page information in your Editorial Document.

七牛图床

功能: 1、选择相册图片一键上传至七牛空间。 2、上传成成功后在当前操作文档的光标处以MD语法插入图片外链地址。 3、上传成功后复制图片外链地址到系统剪贴板(可选)。 注意: 1、请打开任何一个文档后再运行脚本,不然图片外链地址没地方插入。 2、请自行注册七牛免费空间。 3、使用前请先设置七牛相关参数,如不懂python请不要随便修改脚本,以免报错。 by wind.m 2017.6.5 Tg:@meiycs

Draft

Full Share Dialog (entire file)

Use this to access the full Share bar within iOS. This will allow user to (for example) send the entire file to OneDrive (if installed), copy the file to the Files or Notes app, or any other action that displays in the full Share bar for their setup.

Create DayOne Entry from Template

1. Generate a title then prompt to edit it. 2. Clip template text from "Journal Entry Template.md". 3. Create an entry in DayOne with the title and template text. I use this template: How to Become More Consistent in Your Daily Journaling http://michaelhyatt.com/daily-journal-template.html

Create DayOne Entry from Template

1. Generate a title then prompt to edit it. 2. Clip template text from "Journal Entry Template.md". 3. Create an entry in DayOne with the title and template text. I use this template: How to Become More Consistent in Your Daily Journaling http://michaelhyatt.com/daily-journal-template.html

Checklist

A custom CSS preview in progress. It should be usable at this point. Note that is is not for multimarkdown at this time.

Post to mico.blog

Based on jbwhaley’s [Pythonista script](https://gist.github.com/jbwhaley/126ddcd807bf5ff95909a78d863e1e6d#file-microblogger-py) this workflow takes the selected text, posts it to micro.blog, and archives the post in its own Markdown file.

EOF

Moves caret to the end of document so I can add some text without scrolling.

Tweet via Twitter app

Alternative to the tweet sheet that was removed in iOS 11 (using the official Twitter app’s URL scheme).

Make Questions

search_files

Find the files that contain all the query words

Jekyll Publish (Working Copy)

Requirements for this workflow: * Working Copy This workflow creates the front matter for a Jekyll post and saves the file to a Git repository using Working Copy. It asks the user for tags to include into the front matter. My full setup I am using this in is explained at https://blog.neverthesamecolor.net/ipad-only-blogging/ The markdown document is scanned for image references and commits the referenced files from the “assets/“ folder to the repository. To use this workflow, change the key and repo variables to match the key and repo name in Working Copy.

Search Wikipedia

Searches Wikipedia for the selected word. If nothing is selected, a text input dialog is shown.

字数

SentenceCaseDoc

This workflow runs through your entire document and turns all sentences into Sentence Case. (Note: No need to select content first.)

SentenceCase

This workflow will turn your selected text into Sentence Case. (Note: Must select text before running the workflow.)

Fountain to PDF

Converts a Fountain screenplay to PDF, using the `screenplain` Python module. The result is shown in a browser tab.

Gaddgict Update Post Template

Redacted version of the Update Post workflow used to update an existing post on my site over SFTP.

Gaddgict Publish Workflow Template

Redacted version of the script I wrote to Publish a new post to my site.

Forward Delete

Simple workflow I wrote that mimics forward delete.

New OmniFocus Project

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday.

Plain Text (.txt)

Shuffle List

Converts the current document to a list, with one item per line. Shuffles this list, then chooses k number of items per group and prints. Randomly draws an additional number of items as needed to complete group.

字数

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

Working Copy

Workflow for transferring files from Working Copy to Editorial and back again. When called with input, it will pick the filename from the first line and write the other lines into this file, which lets Working Copy create a new file with predefined content. The filename contains a unique identifier for remembering where it belongs. To avoid overwriting files in Editorial by mistake, the previous contents of files are put in WorkingCopy.bak When this workflow is called without any input the contents of the current file is written back to Working Copy. Change askcommit variable to 0 if you just want to save and not be asked to commit. To install a new version of this workflow delete or rename this one and perform Edit in Editorial from Working Copy.

_RemoveWhitespace

Take a block of text and remove white space before, after as well as blank lines. Meant to be used by Workflow.app, it might work in other cases too.

Hugo Micro Compose

Hugo Compose

test

Move down v2

V2.1 (2017-09-27) Shifts selected text down one line. If no text selected, current line is selected by default. Started as a quick response to a forum request. Existing drag handles do something similar, but this allows movement of selected items to be attached to a keyboard shortcut— it works for me, but test it before using on anything mission critical. V2 checks for indent levels (Taskpaper)— if you're moving a line or selection of items between project headings, the selection should be correctly indented automatically. Selected text with project headings maintains whatever indent levels it starts with. Pair with workflow "Move up v2". + deselect text if nothing was selected in the first place Known flaw: doesn't currently retain variable indent levels between items in the same project (unless the project header or a line containing a # is included in the selection). Any other suggestions for improvement welcomed.

Move up v2

V2.1 (2017-09-27) Shifts selected text up one line. If no text selected, current line is selected by default. Started as a quick response to a forum request. Existing drag handles do something similar, but this allows movement of selected items to be attached to a keyboard shortcut— it works for me, but test it before using on anything mission critical. V2 checks for indent levels (Taskpaper)— if you're moving a line or selection of items between project headings, the selection should be correctly indented automatically. Selected text with project headings maintains whatever indent levels it starts with. Pair with workflow "Move down v2". + deselect text if nothing was selected in the first place Known flaw: doesn't currently retain variable indent levels between items in the same project (unless the project header or a line containing a # is included in the selection). Any other suggestions for improvement welcomed.

Hugo : New Post

Simple workflow to create frontmatter for a new Hugo blog post

ALL CAPS

Convert to PDF

Converts a Markdown or plain text document to PDF. The result is shown in a browser tab.

Daily Journal

Hugo Post, Working Copy (v1.1)

Creates a Hugo formatted document, saves to a local Git repository in Working Copy then commits & pushes it to the remote Git repository. How to use: This Workflow requires the document in Editorial to have been given a file name, and for the WorkingCopyApp.com to be installed and it to have 'Allow URL Actions' enabled in settings. The workflow requires some configuration before using - to do this the first three steps (highlighted in purple) should be set as follows: - 'key' matches the secret URL Callback key from App integration settings in the Working Copy App, - 'repo' matches the repository name of your Hugo site & - 'categories' matches your list of desired categories. Features: You can type a title of Hugo post & description, which default to match the filename, select categories, tags & set a featured image (which will be displayed on the website if your Hugo theme supports it).

Log

Share...

Shows the iOS share sheet with the selected text as input. If nothing is selected, the entire document is shared. In a Markdown document, the text can optionally be converted to HTML first.

插入图片...

自行在当前文本目录下创建img文件夹,保存图片在img目录下通过workflow选择插入图片。

插入URL...

插入url

New OmniFocus Project

This Workflow accepts TaskPaper text with «placeholder» tokens and prompts for you to enter final values, then creates a project in OmniFocus 2.14 for iOS using those tokens. For example, given this input: - «project_name» @parallel(false) @due(«due») - This task needs to be done at least 1 week before «project_name» is due @due(«due» -1w) - This task needs to be done at least 2 days before «project_name» is due @due(«due» -2d) You'll be prompted to enter values for «project_name» and «due». If you enter "Phonewave 1.2" and "next Thursday", it will create a new "Phonewave 1.2" project in OmniFocus that is due next Thursday, and has two tasks already filled with due dates of this Thursday and next Tuesday.

Create post

Open multiple URLs

I recently decided that it would be useful to open a number of websites at once for research purposes. Seems Safari iOS doesn't have this functionality built in, so here's a simple workflow that gets all of the URLs in your current document and opens them in new tabs in Editorial's browser.

pdfe2md

for use with Workflow & PDF Expert. Converts a PDF Expert Annotation Summary to Markdown

Ph:Arrange

(This is a slightly modified version of a workflow by agiletortoise. Unlike the original, it doesn't require a second workflow to be installed, the callback from Phraseology is handled by the same workflow) Send selected text to Phraseology to arrange lines and sentences. For details, visit help.agiletortoise.com. Requires Phraseology 2.0.

Ph:Inspect

Send selected text to Phraseology to inspect. This will display statistical information about the text. For details, visit help.agiletortoise.com. Requires Phraseology 2.0.

Find and Replace RegEx

Reference workflow for doing simple RegEx find/replace operations.

Send to Drafts

Sends the current document to Drafts 4.

Insert Footnote...

Inserts a Markdown footnote (including its definition) without changing the current cursor position. Footnotes are numbered sequentially, based on existing footnotes in the document.

Send to DevonThink

Shares the content of the file with DEVONthink. If a selection exists, shares only the selection.

Upload & Insert Relative Image

Modified from [Upload & Insert Image](http://www.editorial-workflows.com/workflow/5890337931264000/qI0pAzIk4Y0). The folder creation was inspired by [Bible 2](http://www.editorial-workflows.com/workflow/5814178497429504/icZSMb6REcs) - Change the markdown reference to a relative one for better portability. - Use shortcut `iii` - Save to the folder "resources" (automatically created)