-
Notifications
You must be signed in to change notification settings - Fork 10
Insert
I'm proudest of the New Link macro, because this is the one that makes heaviest usage of variables, text manipulation and scripting.
First, again, it's works different depending on text selection. Second, you will sometimes see the following bug. When the macro "cuts" your text selection, the cursor moves to the end of the previous word. The macro doesn't know about this change and when it inserts your formatted link it will append it to the previous word, leaving no whitespace in between. I tried to work around this, but this is actually OS X doing its thing, and there's no way I can change the operating system to work different.
If you had a text selection, this text will appear in the first field, so that you can easily modify it, if necessary.
The second field includes your current clipboard. This is supposed to be a workflow improved. I often happen to go to the browser and putting the URL on the clipboard before going back to the editor. So it's more convenient this way.
Version 2 changes the way the link title is handled. (The part that goes in double quotes inside the parenthesis part of Markdown link, e.g. [](http://example.com "link title")
). This field is empty by default so that you can insert a custom text, if so desired. If you leave it empty, however, this macro goes ahead and fetches the links <title>
tag and uses it as its link title.
Lastly the checkbox below allows you to make a link inline or a reference link. (It is set to Inline by default)
The image macro doesn't use text selections. It is only meant to be used to insert an image URL. The alt text is the text that appears when you hover over it.
The image URL is the direct link to the image.
Version 1 used to output empty double quotes at the end, when its Image Title field was empty. With version 2 this is not the case anymore. Just leave it empty and it won't output that part.
The Footnote macro is again a macro that doesn't work on text selections. It simply inserts a Markdown footnote at the bottom of your text.
Footnote Tag is the tag that's going to be used. This is the no whitespace tag text, which will appear as superscript numbers in continuos text.
Footnote Text is the text that will be inserted at the end of your text. Leave this empty to start editing footnote text right there after execution.