Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 823 Bytes

File metadata and controls

23 lines (16 loc) · 823 Bytes

Developer Readme

Development install

  1. Clone:
    git clone https://github.com/InPoint-Automation/CopyCodeButton.git
    
  2. Install the plugin via Publii: Tools -> Plugins -> Install plugin, and select the packaged ZIP (see the Package section below).
  3. Enable in Publii, render the site, inspect output HTML.

Package

Publii requires the files inside an CopyCodeButton/ subfolder within the ZIP.

On Linux you can run a single command to make a clean .zip

ln -s . CopyCodeButton && zip CopyCodeButton.zip CopyCodeButton/plugin.json CopyCodeButton/main.js CopyCodeButton/thumbnail.svg CopyCodeButton/README.md CopyCodeButton/LICENSE; rm CopyCodeButton

Otherwise, you can just directly zip up the whole CopyCodeButton directory. You may consider to remove the screenshot, etc first.