Editorial Workflows

Format as List

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: Processes selected text and formats it as a list (bulleted, numbered). Handles nested lists and resets numbering to consecutive values starting at 1 for each level. Can also be used to remove the list prefix.

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Stop if no text is selected ?
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!
…End If
Show Alert ?
Title
Select list type...
Message
Button 1
Bulleted List
Output Value
-
Button 2
Numbered List
Output Value
1
Button 3
Remove List Prefix
Output Value
Show Cancel Button
ON
Set Variable ?
Variable Name
listPrefix
Value
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Selected Text ?
Entire Line(s)
ON
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Remove Whitespace ?
  • Trim leading/trailing whitespace
  • Remove empty lines
Process List With Prefix ?
Replace Selected Text ?
Replacement Text
Input
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
OFF
Message
Stopped