Editorial Workflows

Task to Mark 1.0a

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 turns a Taskpaper Document into a Markdown document, keeping headers and lists intact (In their same position).

I still have a few issues to work out.

Shared by: Tutorial Doctor

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Taskpaper to Markdown ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Convert ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Header Expression ?
Variable Name
expression
Value
.+:
Prefix/Suffix ?
Variable Name
prefix
Value
#
Suffix Expression ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Document Text ?
Folded Text
  • Include
  • Replace with:
For Every Character... ?
Repeat with
  • Every Line
  • Every Match of Regular Expression:
.+
Match Group
0 (entire match)
Reverse
OFF
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
http
And if... ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
colon
Replace Headers ?
Find
expression
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
prefix %repeat:text
…End If
…End If
Replace Colon ?
Find
:
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
…End Repeat
…End If
…End If
Store Conversion ?
Variable Name
Mark
Value
Input
Generate Markdown ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Comment ?
Store Name Input ?
Variable Name
doc
Value
File Name.md
Create Document ?
File Name
%var:doc
In Dropbox
OFF
New Text
Mark
If File Does Not Exist
  • Create
  • Stop Workflow
Open Document ?
File Name
%var:doc
In Dropbox
OFF
…End If
…End If