A plugin for adding custom buttons to the toolbar, to shortcut commonly used code blocks
Compatible with DokuWiki
Similar to codebash, codebutton, codebutton2, codebutton_ext, codebuttonmod1, codebuttonmod2, entitiesbutton, newline, nowiki, snippets, textmodule, timestamp
A plugin for adding custom buttons to the toolbar, to shortcut commonly used code blocks. The latest version has a user-friendly back-end that lets you add two types of shortcut buttons:
<file bash bash.sh></file>
Note: Icon by Joseph North!
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
To add some button you should login as admin and click to the “Admin Button”.
Just click at a radio button and then click “Delete”.
After you have successfully inserted some buttons you should be able to see them at the edit toolbar, as shown below.
If you want to have a shortcut for a common used multiline template (eg. a table) you can use “\n” in the code field to denote the line change.
Example:
Label: 3x3 Table Code: ^ header1 ^ header2 ^ header3 ^\n| valueA1 | valueA2 | valueA3 |\n| valueB1 | valueB2 | valueB3 |
Use GitHub Issues to reports bugs and request features.