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.
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: Gets rid of non-ascii punctuation (“”—•‘’…−), replaces with ascii equivalents (the dot turns into a hyphen). Mainly to keep stuff from breaking when moving from, e.g., Microsoft word to HTML, without having to muck around with encoding. Not guaranteed to work with all input encodings, but I haven't managed to break it yet.
EXAMPLE INPUT: This has some “st—up•id ‘char−acters’, in its’ string…”
EXAMPLE OUTPUT: This has some "st-up-id 'char-acters', in its' string..."
Shared by: Paul Gowder (paul-gowder.com)
Comments: Comment Feed (RSS)