DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bookmark

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:bookmark [2020-07-14 13:36] oivplugin:bookmark [2021-03-14 22:50] (current) – [Allow space and dash in bookmarkname] davidtango
Line 42: Line 42:
  
 Install with Plugin Manager 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.
 +
 +==== Allow space and dash in bookmarkname ====
 +
 +Suggestion: by allowing the space and dash characters in a bookmarkname, we can then refer to them in a natural way without having to use an alias. For example, %%[[#Open step]]%% could refer to %%<BOOKMARK:open step>%%. Where currently we would have to write %%[[#openstep|Open step]]%% to refer to %%<BOOKMARK:openstep>%%.
  
plugin/bookmark.1594726580.txt.gz · Last modified: 2020-07-14 13:36 by oiv

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki