Editorial Workflows

Start Today’s Work Notes

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: I keep my notes in one large Markdown file. I have this hooked up to a Workflow that allows me to dictate the beginning of my notes and tosses them at the top of the document.

Shared by: @EliGundry

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Set Variable ?
Variable Name
incoming_text
Value
Input
Set Variable ?
Variable Name
date
Value
Year: 2001-Month: 01-Day: 01
Generate Text ?
Text
# date ## Working On * incoming_text
Set Variable ?
Variable Name
today
Value
Input
Open Document ?
File Name
TalentInc/2018.md
In Dropbox
ON
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Fold Text ?
Fold
  • Selection
  • Range of Text:
(from:to)
0:
Placeholder Label
Those Days Are Gone
Run Python Script ?
Source Code
# coding: utf-8
import editor
import workflow
from datetime import date

# Go to top of file
editor.set_selection(0)

# Insert today's text from the workflow
today = workflow.get_variable('today')
editor.insert_text(today)

# Move cursor back to first bullet point
editor.set_selection(editor.get_selection()[0] - 2)