Editorial Workflows

FindFootnote

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: Displays an alert for a footnote found by matching the closest selected word.

Shared by: @viticci

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Save Initial Cursor ?
Variable Name
initialsel
Value
Sel. Range: Start
Select Closest Word ?
Escape for RegEx ?
Set Variable ?
Variable Name
footnote
Value
Selected Text
Document Text ?
Folded Text
  • Include
  • Replace with:
Find Footnote Regex ?
Search for
^(\[\^footnote\]\:)\s(.+)$
Match Group (RegEx)
2
Search Type
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Output
  • Found Text
  • Range of Text (from:to)
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Select Range ?
Range (from:to)
initialsel
Relative to
  • Entire Document
  • Current Selection
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
No footnote found
…End If
Show Alert ?
Title
Footnote
Message
Input
Button 1
OK
Output Value
Input
Button 2
(don't show)
Output Value
Button 3
(don't show)
Output Value
Show Cancel Button
OFF
Select Range ?
Range (from:to)
initialsel
Relative to
  • Entire Document
  • Current Selection