Editorial Workflows

MarkNoter

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 if you want to create a linked post or normal post in Poster. For linked post, assumes a link is available in the first line of the document and extracts that using a selection range with inline math operation. Then it converts to Markdown and uses the extracted URL as parameter for custom field in the URL scheme to call Poster. Otherwise it uses the document's name and text to create a new post in Poster and then open MacStories in Chrome.

Shared by: @viticci

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Set Variable ?
Variable Name
CallbackURL
Value
googlechrome://macstories.net
Document Text ?
Folded Text
  • Include
  • Replace with:
Set Variable ?
Variable Name
doctext
Value
Input
Get Current File Name ?
Include Folder
OFF
Include Extension
OFF
Request Text Input ?
Title
Double Check Title
Initial Text
Input%cursor
  • Single Line
  • Multiple Lines
Keyboard Options:
URL Escape ?
Set Variable ?
Variable Name
doctitle
Value
Input
Generate Text ?
Text
doctext
Convert Markdown ?
Markdown Extras: Footnotes
ON
…Auto-Links
ON
…Strikethrough (~~x~~)
ON
…Superscript (^x)
ON
…Tables
ON
…Smart Quotes etc.
ON
…Strip Metadata Headers
OFF
URL Escape ?
Set Variable ?
Variable Name
docmd
Value
Input
Normal or Linked? ?
Title
Post Type
Message
Linked or normal post?
Button 1
Linked
Output Value
linked
Button 2
Normal
Output Value
normal
Button 3
(don't show)
Output Value
Show Cancel Button
ON
Extract Linked URL ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
linked
Custom Field Name ?
Variable Name
customField
Value
externalLink
Generate Text ?
Text
doctext
Extract URLs ?
Output
  • Only URLs
  • URLs and Ranges (Separated by Tab)
Select from List ?
Title
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
ON
Select Range ?
Range (from:to)
Input
Relative to
  • Entire Document
  • Current Selection
Set Variable ?
Variable Name
linkedurl
Value
Selected Text
Select Range ?
Range (from:to)
Sel. Range: Start:Sel. Range: End + 1
Relative to
  • Entire Document
  • Current Selection
Replace Selected Text ?
Replacement Text
Document Text ?
Folded Text
  • Include
  • Replace with:
Convert Markdown ?
Markdown Extras: Footnotes
ON
…Auto-Links
ON
…Strikethrough (~~x~~)
ON
…Superscript (^x)
ON
…Tables
ON
…Smart Quotes etc.
ON
…Strip Metadata Headers
OFF
URL Escape ?
Set Variable ?
Variable Name
linkedmd
Value
Input
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
posterapp://x-callback-url/create?text=linkedmd&title=doctitle&customfield_customField=linkedurl&callback_url=CallbackURL
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
ON
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
OFF
Message
Stopped
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
normal
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
posterapp://x-callback-url/create?text=docmd&title=doctitle&callback_url=CallbackURL
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
ON
…End If