plugin:keyboard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:keyboard [2016-09-10 15:26] – Added screenshot LarsDW223 | plugin:keyboard [2023-12-08 10:11] (current) – + Jack Jackrum 148.64.24.63 | ||
---|---|---|---|
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, Jack Jackrum |
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 ==== | ||
+ | |||
+ | 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 136: | 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