Editorial Workflows

Jekyll with UUID

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: Sets YAML Front Matter for a Jekyll blog with UUID.

Based on earlier work by hackerinterrupted.com, edited for my needs.

Shared by: @stuarticus

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

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

action_in = workflow.get_input()

#TODO: Generate the output...
ident = str(uuid.uuid4())

workflow.set_output(ident)
Generate Text ?
Text
--- layout: post title: File Name date: Year: 2001-Month: 01-Day: 01 Hour: 01 (24h):Minute: 01:Second: 01 tags: [post] identifier: Input ---
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Replace Selected Text ?
Replacement Text
Input