Editorial Workflows

BQs

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: Creates and removes blockquotes from whole paragraphs.

Shared by: Phillip Gruneich

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Selected Text ?
Entire Line(s)
ON
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Run Python Script ?
Source Code
#coding: utf-8
import workflow

action_in = workflow.get_input()

if action_in.startswith('>'):
	action_in = action_in[1:]
else:
	action_in = '>' + action_in

#TODO: Generate the output...
action_out = action_in

workflow.set_output(action_out)
Set Variable ?
Variable Name
Quote
Value
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Replace Selected Text ?
Replacement Text
Quote