A dokuwiki plugin for adding custom buttons to the toolbar, to shortcut commonly used code blocks.
You should visit https://www.dokuwiki.org/plugin:custombuttons for instructions about installation and usage.