====== codebuttonmod2 Plugin ======

---- plugin ----
description: Inserts two code buttons into the toolbar. Include code copy-to-clipboard feature
author     : david-it
email      : davide.rolando@gmail.com
type       : action
lastupdate : 2020-02-12
compatible : 
depends    : 
conflicts  : 
similar    : codebuttonmod1, codebutton, custombuttons
tags       : button, code, toolbar

downloadurl: https://github.com/david-it/dokuwiki_plugin_codebutton/archive/v1.2.2.zip
bugtracker : 
sourcerepo : https://github.com/david-it/dokuwiki_plugin_codebutton/tree/featureCopyCode2Clipboard
donationurl: 

screenshot_img : https://i.paste.pics/bbc7fe5a531b5069f722efd954af619b.png
----

===== Installation =====

Install the plugin over the webfrontend by using the url:

https://github.com/david-it/dokuwiki_plugin_codebutton/archive/v1.2-beta.zip

===== Usage =====

== Markup ==

Two new buttons are included in the toolbar. 
The first button include the functionalities of codebuttonmod1 (download link by default): "''<code | download>Insert_Code</code>''"

The second button adds a simple "''<code>Insert_Code</code>''" markup.

== Published pages ==

With a left click on the code blocks the code is copied to the clipboard.
 

=== Author ===
  * Davide Rolando (Mod 2) [[https://github.com/david-it/dokuwiki_plugin_codebutton|Plugin on GitHub]]
  * Georg Schmidt (Mod 1) [[https://github.com/user9209/dokuwiki_plugin_codebutton|Plugin on GitHub]]
  * Heiko Barth (Original) [[https://github.com/casperklein/dokuwiki_plugin_codebutton|Plugin on GitHub]]

=== Change Log ===
  * **2020-02-07**
    * Plugin "disabled" for any action mode (v1.2.1-beta)
  * **2020-02-01**
    * First release (v1.2-beta)
  * **2020-02-01**
    * Fork from [codebutton](https://www.dokuwiki.org/plugin:codebutton)	

=== Known Bugs and Issues ===

  * v1.2.1-beta: Conflict with CodeMirror plugin