Editorial Workflows

JekyllFromWorkflow

public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the 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: This workflow, when combined with my "Safari -> Editorial (Jekyll blog)" Workflow.app workflow, permits sending a selection of text from Safari to a Jekyll blog post in Editorial, auto-configured with front matter and filename. Combined with the github publishing Editorial workflows, this creates a streamlined process for publishing to Jekyll.

Shared by: David Young

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Run Python Script ?
Source Code
import urllib
import workflow

url = workflow.get_input()

urllib.unquote(url).decode('utf8')

workflow.set_output(urllib.unquote(url).decode('utf8'))
Set Variable ?
Variable Name
text
Value
Input
Generate Text ?
Text
text
Find ?
Search for
\s\[(.+)\]\((.+)\)
Match Group (RegEx)
1
Search Type
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Output
  • Found Text
  • Range of Text (from:to)
Find / Replace ?
Find
.
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
\s\|.*
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Find / Replace ?
Find
— Medium
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Set Variable ?
Variable Name
post-title
Value
Input
Generate Text ?
Text
text
Find ?
Search for
\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)
Set Variable ?
Variable Name
URL
Value
Input
Open URL ?
Open in
  • In-App Browser
  • Default App / Safari
URL
URL
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
OFF
Generate Text ?
Text
text
Set Variable ?
Variable Name
content
Value
Input
Generate Text ?
Text
post-title
Change Case ?
  • UPPER CASE
  • lower case
  • Title Case
Find / Replace ?
Find
[^a-zA-Z\d]+
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
-
Set Variable ?
Variable Name
file-name
Value
Input
Create Document ?
Filename
Year: 2001-Month: 01-Day: 01-file-name.md
Content
content
Open in Editor
ON