Editorial Workflows

Focus on Tag...

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: After picking a tag from the list of tags in the current document, only tasks that contain this tag are shown, everything else is hidden (folded).

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Run Python Script ?
Source Code
#coding: utf-8
import workflow
import editor
import re

text = editor.get_text()
tags = sorted(set(re.findall('@\w+', text)))
if len(tags) == 0:
	import console
	console.hud_alert('No Tags Found', 'error')
	workflow.stop()
else:
	workflow.set_output('\n'.join(tags))
Select from List ?
Title
Select Tag
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
OFF
Escape for RegEx ?
Fold Lines Containing… ?
  • Regular Expression
  • Case-insensitive Search (A = a)
  • Case-sensitive Search (A ≠ a)
Input\b
Invert
ON