Editorial Workflows

URL to Markdown

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: Convert a website to Markdown and save it in a new Doc

Shared by: @mikker

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Request Text Input ?
Title
URL
Initial Text
Clipboard
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
url
Value
Input
Run Python Script ?
Source Code
#coding: utf-8
import workflow
import requests

action_in = workflow.get_input()

url = "http://markdownplease.com/?url=" + action_in
md = requests.get(url)
action_out = md.text

workflow.set_output(action_out)
Create Document ?
Filename
Untitled.md
Content
%cursorInput --- From url
Open in Editor
ON