Editorial Workflows

New Footnote

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: Asks for a footnote name, checks if that ^name is in the document text, appends footnote to bottom of the document. Selection is restored.

Shared by: @viticci

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Set Variable ?
Variable Name
initialLine
Value
Sel. Range: Start
Document Text ?
Folded Text
  • Include
  • Replace with:
Set Variable ?
Variable Name
allText
Value
Input
Request Text Input ?
Title
Footnote Name
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
footname
Value
Input
If… ?
Run the block if
allText
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
^footname
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
Pick a different name!
…End If
If… ?
Run the block if
allText
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
^footname
Request Text Input ?
Title
Footnote
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
footnote
Value
Input
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Replace Selected Text ?
Replacement Text
[^footname]: footnote
Select Range ?
Range (from:to)
initialLine
Relative to
  • Entire Document
  • Current Selection
Replace Selected Text ?
Replacement Text
[^footname]
…End If