Editorial Workflows

Fold

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: Org style folding. http://orgmode.org -stophlong

Shared by: stophlong

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
A document must be open... ?
Run the block if
File Name
  • 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
No Document Selected
…End If
Select from List ?
Title
Fold
List (Lines)
Fold All all Fold Some some Unfold unfold
Multiple Selection
OFF
Show in Popover
ON
Set Variable ?
Variable Name
foldstatus
Value
Input
If… ?
Run the block if
foldstatus
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
all
Fold Lines Containing… ?
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
^(\#?\*|\#)\s
Invert
ON
…End If
If… ?
Run the block if
foldstatus
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
some
Unfold All Text ?
Fold Lines Containing… ?
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
^(\#{0,5}\*{1,5}|\#{0,5})\s
Invert
ON
…End If
If… ?
Run the block if
foldstatus
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
unfold
Unfold All Text ?
…End If
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1