I read this article by Brett Terpstra last night and got inspired. He uses a “lazy” Markdown reference link style while writing that removes a bit of work. It looks something like this:
I read [this article][*] by [Brett Terpstra](https://twitter.com/ttscoff "Twitter") last night and got inspired. He uses a "lazy" Markdown reference link style while writing that removes a bit of work. It looks something like this: [*]: http://brettterpstra.com/2013/10/19/lazy-markdown-reference-links/
Instead of creating a link identifier at the exact moment you create the link, you can use a
*. Simple! He included a script that works as a custom preprocessor for Marked, too, that converts the lazy links to numerically indexed reference links.
I loved this idea–it jibes with my writing style–so I adapted it for Editorial.
There are two workflows that you’ll need to install. The first will let you create a lazy reference from either a URL on the clipboard or whatever page is open in the in-app browser. The second workflow parses the lazy references in your document and turns them into proper reference links with numbers for reference IDs.
You can view and install the workflows using the links below.