Editorial Workflows


public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Workflow for cleaning text in the manner described in http://omz-forums.appspot.com/editorial/post/5780706206679040

Shared by: @cclauss

Comments: Comment Feed (RSS)

For CCC — 29 Dec 2014

I installed workflow but it reported an error. "An error occurred in the action "get file contents". A file with the name "in_file.txt" does not exist."

Below is a workflow for a slightly similar problem - just in case you may want to see. It removes the "Page..." lines (using a regular expression as a filter),


CCC — 29 Dec 2014
You need to create a text file called in_file.txt
Revised Work Flow Does Not Work — 29 Dec 2014
Try it on text below and see whether percentage figure and colon (eg 0.5%:) at top of each paragraph is removed.

Romano On SOX Highlights

entrepreneurs were in opportunistically coupling

The substantive corporate govemance

They could have been formulated as disclosure
ccc — 29 Dec 2014
Updated the workflow to satisfy Tunde's needs.
Tunde — 29 Dec 2014
Thank you CCC. It worked perfectly.

+ Add Comment

Workflow Preview
Select Range ?
Range (from:to)
Relative to
  • Entire Document
  • Current Selection
Run Python Script ?
Source Code
#coding: utf-8
import workflow

action_in = workflow.get_input()

#TODO: Generate the output...
action_out = '\n'.join([line for line in action_in.splitlines() if not line.endswith('%: ')])

Replace Selected Text ?
Replacement Text