plugin:clipboardutils
Table of Contents
clipboardutils Plugin
Compatible with DokuWiki
No compatibility info given!
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to clippy, codeclipboard, copy2clipboard, copycode
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
Text with icon (click the icon copy the text in clipboard):
<clipb type=ti>Value copied in clipboard</clipb> <clipb type=texticon>Value copied in clipboard</clipb> <clipb f=t,i>Value copied in clipboard</clipb>
{{:dev:clipboardutils:screenshot1.png?200|}}
Some more complex boxes
An email address clickable: <clipb type=clic>an-email-address@ggmail.com</clipb>\\ Several lines copied by icon: <clipb t=i>a simple text on several lines just to try</clipb>\\ An icon, the text, an icon, all clickable: <clipb f=i,c,i>Copier cela dans le presse-papier</clipb>\\
{{:dev:clipboardutils:screenshot2.png?500|}}
Syntax
Basic syntax:
<clibp parameters>Text to copy in clipboard</clipb>
- parameters can be can be a sequence of key value pairs separated by spaces or semicolons
;
- The keys are separated from the values either by
:
or by=
- The keys
- type|t — Type of value to display:
- text|t — just the text (normally used in compound types)
- icon|i — a icon clickable
- clic|c — the text clicable (to copy the text in clipboard)
- format|f — a list of 'type' separated by comma
,
(ex:format=t,i
orf=clic,icon
).
plugin/clipboardutils.txt · Last modified: 2023-12-28 08:51 by Aleksandr