projectdoc Toolbox

Renders a drag-and-dropable button for a bookmarklet.

Since
3.1
The macro converts bookmarklet source code on a page to a button that can be used to easily install the bookmarklet to the bookmarks of the browser.

Parameters

Code Identifier

The identifier of the code on the current page.

With this version the identifier must reference a section.

Bookmarklet Name

If specified the rendered bookmarklet button uses this name as its label. The label of the button will be the name of the bookmarklet in the bookmarks of the browser.

If not specified the name of the bookmarklet defaults to the name of the page. This is a typical use case since the macro is often used on a page that describes the bookmarklet and therefore the name of the document matches the name of the bookmarklet.