DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:codebuttonmodbash

codebuttonmodbash Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

plugin Inserts a bash code button into the toolbar.

Provides
Action
Repository
Source

Similar to codebutton, custombuttons

Tagged with bash, button, code, toolbar

Installation

Search and install the plugin “codebuttonmodbash” using the Extension Manager.

or

Install the plugin over the webfrontend by using the url:

https://github.com/unimetal/dokuwiki_plugin_codebuttonmodbash/zipball/master

Syntax and Usage

  • After installation you'll find a new button at the end of your regular toolbar.
  • Use the button to add “<code bash>Insert_Code</code>” to your DokuWiki markup.
  • Default value is “bash” and can be modifyed in the config.

Mod bash contents

  • Default title is set to “$this→getLang('insertcode')”
  • using updated examples to create plugin
  • new (green) icon

contents from Mod 1

  • file has been replaced by code
  • Placeholder text can select by a single double click.
  • plugin.info.txt for easy setup using a named zip file

Author

Change Log

  • 2025-01-10b
    • replaced <code=BASH> by <code bash>
  • 2025-01-10
    • Added codeStr Parameter to modify <code=$codeStr>...</code> in config.
  • 2025-01-08
    • Update plugin name and id
  • 2025-01-08

Known Bugs and Issues

  • no known bugs

ToDo/Wish List

  • Settings file to edit bash string
plugin/codebuttonmodbash.txt · Last modified: by unimetal

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