plugin:bookmark
This is an old revision of the document!
Table of Contents
Bookmark Plugin
Description
With this plugin you can insert a bookmark to your page. The format is
<BOOKMARK:bookmarkname>
This will insert code
<a name='bookmarkname' id='bookmarkname'></a>
To link to the bookmark from the same page (i.e. to use the bookmark as an anchor link within the page), use this syntax:
[[namespace:page_name#bookmarkname|anchor_text]]
Where anchor_text is the text-link your visitors will see.
Installation
Install with Plugin Manager
Feature request
Optional Class tag
Suggestion: add an option to specify a class for a bookmark, to provide for easy CSS styling of the anchor_text. For example, <BOOKMARK:bookmarkname:classname|anchor_text> to produce <a name='bookmarkname' id='bookmarkname' class='classname'>anchor text</a>.
Use case: <BOOKMARK:myterm:glossary|expanded term name> so that I could style all the glossary terms.
plugin/bookmark.1612888325.txt.gz · Last modified: 2021-02-09 17:32 by davidtango