DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:codebuttonmod2

This is an old revision of the document!


author : david-it email : [email protected] type : action lastupdate : 2020-02-18 compatible : depends : conflicts : similar : codebuttonmod1, codebutton, custombuttons tags : button, code, toolbar

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

screenshot_img: https://paste.pics/81O99


Installation

Install the plugin over the webfrontend by using the url:

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

Screenshot

Usage

Markup

Three 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.
  • The third button adds “Insert_Code” for inline code.
Published pages

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

Author

Change Log

  • 2020-02-18
    • Bug fix and button for inline code included (v1.2.3)
  • 2020-02-07
    • Plugin “disabled” for any action mode (v1.2.1-beta)
  • 2020-02-01
    • First release (v1.2-beta)
  • 2020-02-01

Known Bugs and Issues

  • v1.2.1-beta: Conflict with CodeMirror plugin
plugin/codebuttonmod2.1582057015.txt.gz · Last modified: by david-it

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki