Editorial Workflows

Wrap

public workflow

Install 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: Wraps selected text in double quotes, MacStories code, or wraps a selected image URL in image code.

Shared by: @viticci

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
If… ?
Run the block if
Selected Text
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
Select some text first!
…End If
Show Alert ?
Title
Wrap
Message
Wrap selection in...
Button 1
Double Quotes
Output Value
"Selected Text"
Button 2
Wrap Image URL
Output Value
image
Button 3
MS Code
Output Value
<blockquote class="code"> <pre> <code>Selected Text</code> </pre> </blockquote>
Show Cancel Button
ON
If… ?
Run the block if
Selected Text
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
image
Replace Selected Text ?
Replacement Text
Input
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
OFF
Message
Stopped
…End If
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
image
Request Text Input ?
Title
Image Title
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Replace Selected Text ?
Replacement Text
<img src="Selected Text" href="Selected Text" alt="Input" title="Input" class="aligncenter" />
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
OFF
Message
Stopped
…End If