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:
This workflow uses the Markdown link syntax to let jump between files or create files in editorial. The idea is that you can navigate to the files refrenced in a document more easily and (optionally) can create folders and files be simply referencing them in the document you are currently writing.
To use the workflow place your cursor within the bounds of Markdown link with a relative file path and run the workflow. It will then open the referenced file for you. Any link with a specific protocol like http: or file: will be ignored by the workflow. The workflow also does deliberately ignore file extensions so that you can write Markdown files that have working links in their rendered html files. Any link will be interpreted as a link to a Markdown file with the same name.
It can handle folders and the command "../" in its file path. If either the referenced folder or file do not exist it will ask you if you want it to create them for you. Newly created files will be empty apart from a link to the file they were created from.
Examples:
=======
* The link [blah](file_a.md) will open the file `file_a.md` in the folder of this document.
* The link [](file_b..html) will open the file `file_b.md` in the folder of this document.
* The link [)](notes/june/file_c.txt) will open the file `file_c.md` in the sub folder `notes/june/` of this document.
* The link [](../file_d) will open the file `file_d.md` in the folder one folder above the folder of this file. If you are in `Documents` this will raise an alert.
* The link [](../../costs/file_e) will open the file `file_e.md` in the folder `costs`which does lie two folder above the folder of this file. If you are not at least two levels below `Documents` this will raise an alert.
Shared by: zipit
Comments: Comment Feed (RSS)
There are no comments yet.