Editorial Workflows

ol

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: Turns a list of text into a fully formatted ordered list, complete with tabs.

<ol>
<li>ITEM-1</li>
<li>ITEM-2</li>
<li>ITEM-3</li>
</ol>

Shared by: Phil Selman

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Get Tabs ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Set Variable ?
Variable Name
original
Value
Input
Generate Text ?
Text
original
Find / Replace ?
Find
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
^([\t]*).*$
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1
Set Variable ?
Variable Name
tabs
Value
Input
Generate Text ?
Text
original
Find / Replace ?
Find
^\s+
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
\s+$
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
…End If
Generate List Item Tags ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Input
Prefix / Suffix Lines ?
  • Prefix
  • Suffix
Text
</li>
Prefix / Suffix Lines ?
  • Prefix
  • Suffix
Text
<li>
Find / Replace ?
Find
<li></li>
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
…End If
Generate Text ?
Text
<ol> Input </ol>
Add Tabs/Print ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Input
Prefix / Suffix Lines ?
  • Prefix
  • Suffix
Text
tabs
Replace Selected Text ?
Replacement Text
Input
…End If