Editorial Workflows

Recently Added

GitHub Get

Downloads entire github repo to your documents folder. Enter link in the URL field.

Llorem Ipsum

A Lorem Ipsum filler text generator. Source borrowed from Pythonista. Edited a bit.

Numbered List

A Custom Action to convert text input into a numbered list.

Unordered List

A Custom Action to convert text input into an unordered list.

Sort Lines

Sorts selected lines in ascending or descending order, including partially selected lines.

jump

This workflow uses the Markdown link syntax to let jump between files or create files in editorial. The idea is that you can navigate to the files refrenced in a document more easily and (optionally) can create folders and files be simply referencing them in the document you are currently writing. To use the workflow place your cursor within the bounds of Markdown link with a relative file path and run the workflow. It will then open the referenced file for you. Any link with a specific protocol like http: or file: will be ignored by the workflow. The workflow also does deliberately ignore file extensions so that you can write Markdown files that have working links in their rendered html files. Any link will be interpreted as a link to a Markdown file with the same name. It can handle folders and the command "../" in its file path. If either the referenced folder or file do not exist it will ask you if you want it to create them for you. Newly created files will be empty apart from a link to the file they were created from. Examples: ======= * The link [blah](file_a.md) will open the file `file_a.md` in the folder of this document. * The link [](file_b..html) will open the file `file_b.md` in the folder of this document. * The link [)](notes/june/file_c.txt) will open the file `file_c.md` in the sub folder `notes/june/` of this document. * The link [](../file_d) will open the file `file_d.md` in the folder one folder above the folder of this file. If you are in `Documents` this will raise an alert. * The link [](../../costs/file_e) will open the file `file_e.md` in the folder `costs`which does lie two folder above the folder of this file. If you are not at least two levels below `Documents` this will raise an alert.

Validate Current Document for Not Empty

This routine makes sure that your current file is not empty. If it is, it shows an error and stops the routine. The idea is to use this as a subroutine of a larger routine that's more specific to your situation. I'm using this routine as a sub routine of two other routines, currently. Make sure that when you're setting this up as a subroutine, you specify that it can stop the main routine. Otherwise this won't accomplish anything as a subroutine. It'll just show the validation alert and then stop and your main routine will carry on oblivious to the error.

Send to Reminders.app

This workflow searches the current document for tags in the format @due(YYY-MM-DD hh:mm) and automatically creates task entries in the iOS Reminders.app. It is based on the Taskpaper format. I've also tweaked the [TP] Set Due Date workflow to make it set the time.

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.

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.

gethtmlclean

GPX Waypoints

Filter out waypoints from a gpx file, for copy-pasting into navigation apps. May need a little editing for differently formatted Gpx files.

Paste as list

Paste as liste. Paste clipboard content as a markdown / task paper list.

@hardware search

Slightly modified from another workflow. This one always searches for a specific tag I often need to search. It is a global search.

RA Markdown Zeilenumbruch

MARKDOWN ZEILENUMBRÜCHE 1. Wählt den gesamten Text aus 2. Entfernt drei aufeinander folgende Leerzeichen 3. Fügt am Zeilenende drei Leerzeichen ein 4. Ersetzt Ursprungstext durch neuen Text Basiert auf dem Workflow "Preserve Line Breaks"

Jekyll Micro Compose

Creates the front matter of a Jekyll post to an external link a la a Daring Fireball linked list post.

New blog post

Create new document with template generated. Prompts for title, but provides a dynamic default of the date (YYYYMMDD.md).

LinkReferenceFilePublic

LinkReferenceFile This workflow links two files together via a sequence reference number. While editing your main file select a word and then call the Workflow LinkReferenceFilePublic. The Workflow will create a reference file for you, open it, and prompt you to input some text. (You can opt to enter the text into the reference file later.) Then it will return to the original file you were editing and add the link. Touching the links in either file will open the linked file. The next number for linking is stored in lastLinkReferenceFileNumber.txt file in your Dropbox account. (If the file doesn't exist the Workflow will create it for you). The linking reference number starts with 'z' with an appended number (i.e. z1, z2, z3, etc.) You can set a starting number in the lastLinkReferenceFileNumber.txt by simply editing the file and changing the number. (I prefer to start with 1000. Therefore my reference numbers are z1000, z1001, etc.) The reference files all start with 'z' so as to sort them at the end of the file list in your current directory. [This Workflow was based on Create Zettel Workflow.]

Insert Image...

Saves an image from the camera roll as a jpeg file in the relatively 'resources' directory, and inserts a markdown image reference,using current time. you can change the label 'yypE' into anything you want.

KT: Send micropost using Working Copy

This is a sample workflow I use to send a micropost to thecave.com. It creates a Jekyll post and saves it to a Git repository using Working Copy. It prompts you for the post title, category, and additional tags to include in the Jekyll front matter. The workflow includes the tag "micropost" automatically. 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

KT: Send Jekyll Post using Working Copy

This workflow creates a Jekyll post and saves it to a Git repository using Working Copy. It prompts you for the post title, category, and tags to include in the Jekyll front matter. 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

List URLs...

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

七牛图床v1.0

功能: 1、选择相册图片一键上传至七牛空间。 2、上传成成功后在当前操作文档的光标处以MD语法插入图片外链地址。 3、上传成功后复制图片外链地址到系统剪贴板(可选)。 4、为保证上传速度,默认会将原图在不改变分辨率的情况下将图片文件大小缩小一倍。 注意: 1、请打开任何一个文档后再运行脚本,不然图片外链地址没地方插入。 2、请自行注册七牛免费空间。 3、使用前请先设置七牛相关参数,如不懂python请不要随便修改脚本,以免报错。 by wind.m 2017.5.20

七牛图床

1、利用七牛免费空间作为图床,选择相册图片一键上传并插入地址到当前文档光标位置。 2、使用前先先在自定义参数脚本内按说明填入你的七牛域名、空间名、AK密匙、SK密匙。 3、请在打开任何一个文档的情况下运行。

numbers csv to md table

csv file from Numbers --> md table --> insert into current md doc --> pdf with internal and external table borders

Print Org TODOs

Scan org files for lines containing todo keywords. Create an on-the-go todo list.

csv_to_md_table

A workflow for converting csv tables --> markdown tables --> HTML tables with borders --> PDF.

Decrypt Selected Text

Workflow to decrypt selected text in a document. (A Encrypt Selected Text complement workflow.) If no text is selected an alert is displayed and the workflow stops. Based on Decrypt Document workflow.

Encrypt Selected Text

Workflow to encrypt selected text in a document. Use Decrypt Selected Text to reverse the process. If no text is selected an alert is displayed and the workflow stops. Based on Encrypt Document workflow. (2017.04.05 added double entry password and exit on no match.)

Add To List

https://forum.omz-software.com/topic/3931/beginner-custom-ui-how-to-get-the-python-script

Search Amazon

Allows you to search for [input] on Amazon

Smart Bold

A workflow best used with an external keyboard. When run with a keyboard shortcut it either: makes the selected text bold, or if there is no text selection it inserts bold operators into the document with the cursor/caret placed between them for easy entry of text.

Open in...

Shows the "Open in..." menu for the current document.

Visual Find & Replace

This workflow uses the UI module to allow you to do a find & replace throughout your selected text or the entire document if no text is selected. The UI was designed to work on both the iPhone and the iPad. Options include: * Text or Regular Expression * Case-sensitive searches * Preview panel to make sure you're replacing what you want to replace (especially helpful for regex). This was adapted from the built-in Diff with Clipboard workflow. If you have any suggestions, find any bugs, or want to see my other workflows for Editorial, please visit http://sweetnessoffreedom.wordpress.com/projects

Insert MD-Table

This Editoral-WF inserts a MD-table template. It prompts the user to either specify a number of columns e.g 4 or a sequence of L, C or R to specify L(eft), C(enterd) or R(ight) alignment, e.g LLCR. The WF prompts the user also for the number of rows. The table will contain placeholders which can easily be selected for editing by double tapping.

Pandoc

Sends the Markdown, HTML, or LaTeX text that is currently in the editor to the web service Docverter for conversion into Markdown, HTML, LaTeX, PDF, EPUB, or even DOCX. Allows users to turn on several options for Docverter, which uses Pandoc for text conversion. For Markdown, HTML, and LaTeX output, users can choose whether to replace the editor text with the converted text or to place the converted text onto the clipboard. For file output, the workflow will prompt the user to open the returned PDF, EPUB, or DOCX file in an appropriate app. By configuring the red actions in the workflow, users can create custom CSS styles for PDF output can be defined in workflow action and specify a folder where the workflow can look for files referenced by Docverter arguments that require files, such as "template." Requires Editorial 1.1.1. Please report bugs on Twitter.

TOC/FLOW Preview

Add flowchart support. Any problem can send mail to me. jerry@jerry-chan.com

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.

Drafts

library-module-for-editorial

Easy Workflow by @ccc for downloading modules directly into Editorial at ~/Documents/site-packages. See forum discussion for further information: https://forum.omz-software.com/topic/3921/library-module-for-editorial-via-pythonista/17

Motorcycle Trip 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.

Create link to current file

Creates a markdown link to the current file Note: The link will only work in Editorial

Read yaml

Persistent storage of Editorial variables... Opens a yaml file and does workflow.set_variable() on each key, value pair

Write yaml

Persistent storage of Editorial variables... Take the current value of several Editorial variables and write them to a yaml file.

Is A Minor

Assumes that Set Variable 'age' has already been done in the workflow. Returns 'true' if age < 18, 'false' if age >= 18, or 'unknown' if age not defined or has bad characters.

Net Bible

Online Bible API in a Custom Action.

My Workflow 1

Filling in variables similar to a form letter

Form Letter

Demonstrate substitution using Python str.format(**dict). Create a .md file with the following template text: '''Therapy session on {session_date} with {first_name} {last_name}: On {session_date:%B %d, %Y}, Nikki Schwartz had therapy session with {first_name} {last_name} who is a {age} year old {sex} suffering from {issues}.''' Make sure that is the current document in Editorial and then run this workflow.

Webpage to Markdown

This powerful workflow combines my "Grab HTML" workflow with the 'HTML to Markdown" Custom Action I posted, to automatically generate a markdown document from the current page loaded in the built-in web browser. Thanks to Aaron Swartz. Note: I don't know where in the code to get rid of the console input. Any tips?

survey

Insert Logos Link

Prompt for bible reference, insert `logosres` reference as Markdown formatted link, and jump to reference in Logos bible software

Open Logos Link

Find `logosres` link on current line and jump to reference in Logos bible software.

Focus on due date...

After selecting a date, only tasks that contain the @due tag for this date are shown, everything else is hidden (folded).

Focus on due date...

After selecting a date, only tasks that contain the @due tag for this date are shown, everything else is hidden (folded).

DDSync

Useful if you have folder trigger on sync data that creates some content such as (PlantUML to generate diagram). This script does a sync of Dropbox twice at an interval of 5 seconds.

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.

View Images

This workflow gives the ability to show associated pictures within the same directory with @image tag (particularly usefull in taskpaper documents). How to use : Example @image(name_of_image.png) The name can take all alphanumeric characters and the extension can be jpg or png.

OmniFocus - Church

Google/Scholar

Takes selected or inputted text as search terms and executes either a Google search or a search for legal precedent in Google Scholar (user chooses which), and displays search results in Editorial's browser.

AddCase

Lucky

This displays top hit of a DuckDuckGo search using selected or inputted text for the search terms.

Lucky Scholar

Takes selected text or inputted search terms and displays top hit of corresponding Google Scholar case law search. If input is a full case cite, it will take the reporter cite as its search terms. Alter as necessary.

Lido2AvenzaMaps+

Generates KML for Avenza Maps V1.1.5 - plot route using segments to avoid display problems

FTP_Client

This is a custom UI for Editorial which will present a fully featured FTP client in a popup window over the editor. After downloading you will need to tap the Info button next to the workflow, go to the Edit Workflow page, tap on the action block to expand it, and fill in your FTP login credentials in the variables below. Once you've done that just run it from the workflow menu and you should be set.

Insert Text

A quick custom action to insert text at the caret. Should be an included action. Uses editor.insert_text()

Auto Numbered Footnote

Inserts a Markdown footnote without changing the current cursor position. The footnote tag is auto generated based on current date/time stamp to ensure there is no overlap with other tags for sites using the Bigfoot.js plugin. Footnotes are are placed sequentially, based on existing footnotes in the document. Based on original 'Insert Footnote...' work flow.

MD_Title_Block

Creates a title block for a Markdown file that can be posted to Pelican and most other static site generator packages. Will auto fill current/date for date of post/file creation.

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.

Lido2Gramet+

V1.1.3 - compatible Editorial 1.3 V1.1.0 - Ajout des SIGMETs ---- Ce workflow est lancé à partir de Workflow App. Il affiche le gramet pour un OFP au format PDF, il peut aussi générer le .kml pour Mapsme. Ce workflow installe le module editolido.

Lido2Mapsme+

Version 1.1.3 - compatible Editorial 1.3 Version 1.1.0 - suppression de la route Ogimet Version 1.0.1 - nécessité de supprimer le dossier site-package pour les utilisateurs des bêta précédentes. - nécessité de relancer Python en redémarrant Editorial avant de lancer ce workflow (toujours pour les utilisateurs des bêta précédentes) - futures mise à jours du module editolido automatique - affichage possible de la route du dégagement - correction des bugs connus sur les OFP signalés Version 1.0.0b7 - gestion du nouveau format de message des tracks. Version 1.0.0b5 - corrige coordonnées rlat des tracks - timeout modifié, montre http status en cas d'erreur - plus d'infos dans les logs Permet à partir de l'OFP Lido de tracer dans Mapsme: - route - ortho - les NATS - la route ogimet A l'issue du workflow, le clipboard contient la route mPilot. Ce workflow s'utilise à partir du workflow Du même nom de l'app Workflow.

Hugo metadata

I use Hugo and GitLab Pages for my website. On iOS, I use Working Copy and Editorial to write posts. This workflow streamlines adding metadata (TOML format) to the posts. It assumes you have created the file in Working Copy with the file name as the title of the post (hyphens in file name where spaces will go in the post's title.)

Fold Headings

Very simple workflow to collapse all the Headings (single #) in the current document. The format to match is that the # must be at the beginning of a line followed by a single space.

Lido2Gramet+

V1.1.3 - compatible Editorial 1.3 V1.1.0 - Ajout des SIGMETs ---- Ce workflow est lancé à partir de Workflow App. Il affiche le gramet pour un OFP au format PDF, il peut aussi générer le .kml pour Mapsme. Ce workflow installe le module editolido.

Lido2Mapsme+

Version 1.1.3 - compatible Editorial 1.3 Version 1.1.0 - suppression de la route Ogimet Version 1.0.1 - nécessité de supprimer le dossier site-package pour les utilisateurs des bêta précédentes. - nécessité de relancer Python en redémarrant Editorial avant de lancer ce workflow (toujours pour les utilisateurs des bêta précédentes) - futures mise à jours du module editolido automatique - affichage possible de la route du dégagement - correction des bugs connus sur les OFP signalés Version 1.0.0b7 - gestion du nouveau format de message des tracks. Version 1.0.0b5 - corrige coordonnées rlat des tracks - timeout modifié, montre http status en cas d'erreur - plus d'infos dans les logs Permet à partir de l'OFP Lido de tracer dans Mapsme: - route - ortho - les NATS - la route ogimet A l'issue du workflow, le clipboard contient la route mPilot. Ce workflow s'utilise à partir du workflow Du même nom de l'app Workflow.

Tags

Searches every file in the current directory for hashtags and then presents a list. Upon selecting a hashtag, a global search is performed and results are presented in the preview window. Inspired by http://1writerapp.com and uses code from Editorials Global Search. Workflow by Pedro Lobo (http://plobo.net)

ASCII Punctuation

Gets rid of non-ascii punctuation (“”—•‘’…−), replaces with ascii equivalents (the dot turns into a hyphen). Mainly to keep stuff from breaking when moving from, e.g., Microsoft word to HTML, without having to muck around with encoding. Not guaranteed to work with all input encodings, but I haven't managed to break it yet. EXAMPLE INPUT: This has some “st—up•id ‘char−acters’, in its’ string…” EXAMPLE OUTPUT: This has some "st-up-id 'char-acters', in its' string..."

cleanup line breaks in all

Take a text with line breaks within paragraphs (e.g. OCRed, converted from something, badly copy-pasted) and get rid of them. Also put space between all paragraphs rather than tab at start.

Add to TaskPaper

Call from Drafts to insert a list into proper project heading in taskpaper file.

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

Upload & Insert Image

- Prompt for image selection from the camera roll. - Save selection as as a jpeg. - The image is saved in a sub folder relative to current folder. (Default is 'imgs', you may change it) - Preserve the original image orientation. - Insert a markdown image reference. **Credits** I forked and modified the plugins from the following two workflows which either didn't have the relative folder feature or did not working for me(infinite running). [Insert Photo...](http://www.editorial-workflows.com/workflow/5848481730134016/Qi3BQOLzpGY#) [insert_image](http://www.editorial-workflows.com/workflow/5793629092184064/Jb-MjQh1u6c) https://github.com/winddweb

Copy All Text

Copies all text in the selected document to the clipboard, optionally converting Markdown to HTML.

Arrange Paragraphs

Arrange markdown paragraphs.

JekyllFromWorkflow

This workflow, when combined with my "Safari -> Editorial (Jekyll blog)" Workflow.app workflow, permits sending a selection of text from Safari to a Jekyll blog post in Editorial, auto-configured with front matter and filename. Combined with the github publishing Editorial workflows, this creates a streamlined process for publishing to Jekyll.

Archive @done

Moves @done tasks in a TaskPaper document to the "Archive" project (created if necessary). If a task is in a project, a @project(name) tag is appended automatically. Note that this ignores indentation and doesn't handle sub-projects though.

Focus on Tag...

After picking a tag from the list of tags in the current document, only tasks that contain this tag are shown, everything else is hidden (folded).

Shuffle Lines

Shuffles the order of selected lines in the editor.

Custom Font

Experimental workflow for using system fonts that don't show up in Editorial's settings. PLEASE READ THE INSTRUCTIONS AND WARNINGS CAREFULLY (shown when running the workflow). Requires Editorial 1.3

Search Infogalactic

Search Infogalactic, the improved online encyclopaedia

Open Ads

Send to Clear

Sends TaskPaper documents to Clear via x-callback-url.

Convert to PDF

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

Jekyll Post

Create OmniFocus project

Create a new OmniFocus project based on a TaskPaper document. Prompts for a title and date, which are then substitutes where «title» and «due» occur in your document. The workflow will search for @tags and display a configuration dialog asking which tags to include. If your task includes a @tag, it will only be sent to OmniFocus if you enable it. This allows you to maintain a master template, and filter tasks based on the specifics of your project. Tasks without any tag will always be included. Last updated: 2017-01-06 Author: sam@sargeant.net.nz

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.

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.

Internet File Download

Download a file from a url using this custom action. By default it downloads the database I use for my editorial bible app. Can be used to download any type of file.

Jekyll post, Working Copy(rev)

A few modifications from Anders Borum's workflow. Create a Jekyll post and save this in a Git repository in Working Copy. Workflow requires WorkingCopyApp.com to be installed. You will need to change the two first actions such that key matches the secret URL Callback key from Working Copy settings and repo matches the repository name of your Jekyll blog. You can type a title of Jekyll post and tags. Url escape is applied to the file name.

Bible 2

A bible app Thanks dgelessus! Updated for editorial 1.3 (code for 1.2 is comemented) It's the selected chapter line. Converted from my pythonista version. This is not complete yet but it willl be. You will need the database file in the GitHub from here: https://github.com/TutorialDoctor/The-Bible-App Use my Github Get workflow to download the github repo and move the bible.db file to the Documents folder. Now with Light and Dark themes!

Create File Shortcut 1