plugin:keyboard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:keyboard [2017-01-10 19:41] – Added description of short cut feature LarsDW223 | plugin:keyboard [2023-02-23 14:06] – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : freaks@dokuwiki.org | email : freaks@dokuwiki.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2016-09-10 | + | lastupdate : 2023-02-23 |
- | compatible : 2006-03-09, 2006-11-06, 2009-12-25 " | + | compatible : Detritus, Elenor Of Tsort, Frusterick Manners, Greebo, Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 54: | Line 54: | ||
Separator signs for the short form can be '' | Separator signs for the short form can be '' | ||
If you would like to render the key combination '' | If you would like to render the key combination '' | ||
+ | |||
+ | ==== Escape mechanism ==== | ||
+ | |||
+ | Since release 2018-08-09 it is possible to surround keys with ' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | This example would display " | ||
+ | |||
+ | ==== Specify CSS class ==== | ||
+ | |||
+ | If you like to vary the look with each given key sequence you can also specify a CSS class like this: | ||
+ | < | ||
==== Short cuts ==== | ==== Short cuts ==== | ||
Some keys like the letter **C** are short cuts which will be expanded to a translated key name. For example **< | Some keys like the letter **C** are short cuts which will be expanded to a translated key name. For example **< | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | The following configuration options exist: | ||
+ | |||
+ | **disable_translation** --- if this option is activated then all translations and short cuts are deactivated. The given keys will be displayed " | ||
+ | |||
+ | **css_class** --- the CSS class to use if no class is given in the syntax tag. There are two built-in classes: | ||
+ | |||
+ | For the standard look enter: | ||
+ | < | ||
+ | For a look similar to the MediaWiki keypress template enter: | ||
+ | < | ||
+ | You can also enter user defined CSS classes which e.g. could be defined in **conf/ | ||
+ | |||
+ | Some DokuWiki templates like the Bootstrap3 template define an own style for '' | ||
===== Development ===== | ===== Development ===== | ||
Changes: | Changes: | ||
- | {{rss> | + | {{rss> |
===== Add LaTeX support ==== | ===== Add LaTeX support ==== | ||
Line 140: | Line 171: | ||
===== Translations ===== | ===== Translations ===== | ||
- | The plugin is available in the languages | + | The plugin is available in the languages |
===== Issues/ | ===== Issues/ |
plugin/keyboard.txt · Last modified: 2023-12-08 10:11 by 148.64.24.63