Indholdsfortegnelse

download code block Plugin

Kompatibel med DokuWiki

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

plugin Adds buttons to download code blocks

Sidst opdateret
2020-10-22
Tilføjer
Action
Arkiv
Kilde

Tagget med code, download

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.

Example/Usage

This plugin requires no special syntax. It just adds a download button to all code blocks.

If it finds something that looks like a file name in the preceding element, it will use that as the default file name for download. In the following example, the file name would default to „hello-world.sh“.

===== ~/.local/bin/hello-world.sh =====

<code>
#!/bin/bash
zenity --info --text="Hello World!"
</code>