Editorial Workflows

Blink

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: Searches current selection on Blink, returns and processes the link

Shared by: Phillip Gruneich

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Set Variable ?
Variable Name
query
Value
Selected Text
If… ?
Run the block if
query
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Request Text Input ?
Title
Your search query
Initial Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
query
Value
Input
…End If
Open x-callback URL ?
URL
blink://x-callback-url/search?q=query
x-success
editorial://workflow-callback?link=[[link]]
Output
  • First Parameter of x-success URL
  • Raw x-success URL
Find / Replace ?
Find
^\[(.*)\]\((.*)\)$
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
[query]($2 "$1")
Replace Selected Text ?
Replacement Text
Input