====== keyboard ======
[[https://github.com/dokufreaks/plugin-keyboard/archive/master.zip]]
[[http://foosel.org/_media/snippets/dokuwiki/plugin-keyboard.tar.gz]]
===== 1.言語ファイル作成 =====
$ cd lib/plugins/keyboard/lang
$ cp -rp en ja
===== 2.編集画面にボタンを追加 =====
※恐らく新URLでインストールしたバージョンでは下記の必要無し
# diff -u ./inc/toolbar.php.org ./inc/toolbar.php
--- ./inc/toolbar.php.org 2014-12-04 16:53:43.000000000 +0900
+++ ./inc/toolbar.php 2014-12-04 16:54:10.000000000 +0900
@@ -223,6 +223,13 @@
'key' => 'y',
'block' => false
),
+ array(
+ 'type' => 'format',
+ 'title' => 'Mark text as key press',
+ 'icon' => '../../plugins/keyboard/keyboard.png',
+ 'open' => '',
+ 'close' => '',
+ ),
));
} // end event TOOLBAR_DEFINE default action
$evt->advise_after();
===== 3.使用法 =====
^ 記述 ^ 出力 |
| S | S |
| A | A |
| C | C |
| Up | Up |
| Down | Down |
| Left | Left |
| Right | Right |
| PageUp | PageUp |
| PageDown | PageDown |
| Minus | Minus |
| Ampersand or & | Ampersand or & |
| LessThan or < | LessThan or < |
| GreaterThan or > | GreaterThan or > |
| Command | Command |
| Option | Option |
| Eject | Eject |
''5''-5-A-6-7-8-9
参考サイト: [[http://kit.mydns.jp/dokuwiki/dokuwiki/plugin/keyboard]]
{{tag>dokuwiki:plugins syntax}}