Make Link comes with some useful default link types, but its real power lies in your ability to add your own types, or even to remove the defaults! This document is a short description of what you need to know to create your own link types for Make Link.
Make Link creates links differently depending on the context in which it is invoked, ie. depending on what the user right-clicks on to get the Make Link menu. The three contexts are link, selection, and page.
Make Link recognises a set of variables which represent the various data related to links. For example the variable %URL% represents the URL (web address) of a link. When you define the format for a link type in Make Link you do so by combining plain text with these variables. For example the Plain Text link type (one of Make Link's defaults) has the format “%TEXT% (%URL%)”. Make Link interprets this format by replacing %TEXT% with the actual text of the link and %URL% with the URL of the link.
The contents of some variables depend on the context in which it was invoked. The variables are as follows:
title element (the text that appears in the title-bar).href attribute of the original link (the URL of the target page or resource).title attribute of the original link (the tool-tip text).title element (the text that appears in the title-bar).content attribute of any meta element with its name attribute set to “description”.