Plugin Directory

Changeset 3419634


Ignore:
Timestamp:
12/15/2025 02:14:37 AM (4 months ago)
Author:
kasuga16
Message:

Fix text in readme.txt

Location:
stick-copy-button-codeblock
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stick-copy-button-codeblock/tags/1.4.0/readme.txt

    r3414250 r3419634  
    1515== Description ==
    1616
    17 **Sticky Copy Button for Code Blocks** automatically adds a floating copy button to each `<pre><code>` block on your website. 
     17**Sticky Copy Button for Code Blocks** automatically adds a floating copy button to each `<pre><code>` block on your website.
    1818It provides convenient front-end copying for developers, readers, and tutorial users.
    1919
     
    5656### 1. **Button Position**
    5757**Adjust vertical position (top offset in px)** 
    58 Moves the button up or down relative to the top of the code block. 
     58Moves the button up or down relative to the top of the code block.
    5959Use positive or negative values to fine-tune vertical alignment.
    6060
    6161**Adjust horizontal position (right offset in px)** 
    62 Moves the button left or right by adjusting how far it sits from the right edge of the code block. 
     62Moves the button left or right by adjusting how far it sits from the right edge of the code block.
    6363Use positive or negative values to fine-tune horizontal alignment.
    6464
     
    7272The label shown normally (default: “Copy”).
    7373
    74 **Label after copying (2 seconds)** 
    75 Once the text is copied, the button temporarily displays this label. 
     74**Label after copying (2 seconds)**
     75Once the text is copied, the button temporarily displays this label.
    7676Default: “Copied”.
    7777
     
    8080### 3. **Button Size**
    8181
    82 **Button size (8–36 px)** 
    83 Controls the font size of the button. 
     82**Button size (8–36 px)**
     83Controls the font size of the button.
    8484Padding is automatically adjusted based on this value.
    8585
     
    8888### 4. **Button Colors**
    8989
    90 **Button text color** 
     90**Button text color**
    9191Hex color of button text.
    9292
    93 **Button background color** 
    94 Hex background color. 
     93**Button background color**
     94Hex background color.
    9595When copying, the plugin automatically swaps the text and background colors for visual feedback.
    9696However, if the background is transparent, only the text color is swapped.
    9797
    98 **Always transparent background** 
     98**Always transparent background**
    9999If enabled:
    100100- The button background always becomes transparent.
     
    105105### 5. **Code Block Max Height**
    106106
    107 **Code block max height (px)** 
    108 Sets a maximum height (minimum: 100px). 
     107**Code block max height (px)**
     108Sets a maximum height (minimum: 100px).
    109109Content taller than this becomes scrollable.
    110110
    111 **Enable** 
     111**Enable**
    112112Must be checked for the value to apply.
    113113
     
    118118### 6. **Display Line Numbers**
    119119
    120 **Display Line Numbers (Enable)** 
    121 Shows simple line numbers next to each line. 
     120**Display Line Numbers (Enable)**
     121Shows simple line numbers next to each line.
    122122Notes:
    123123- Line height is unified for consistency.
     
    133133You can add any custom CSS to adjust:
    134134
    135 - Button design 
    136 - Wrapper layout 
    137 - Code spacing 
    138 - Line number appearance 
     135- Button design
     136- Wrapper layout
     137- Code spacing
     138- Line number appearance
    139139
    140140Usable Selectors (CSS) :
  • stick-copy-button-codeblock/trunk/readme.txt

    r3414250 r3419634  
    1515== Description ==
    1616
    17 **Sticky Copy Button for Code Blocks** automatically adds a floating copy button to each `<pre><code>` block on your website. 
     17**Sticky Copy Button for Code Blocks** automatically adds a floating copy button to each `<pre><code>` block on your website.
    1818It provides convenient front-end copying for developers, readers, and tutorial users.
    1919
     
    5656### 1. **Button Position**
    5757**Adjust vertical position (top offset in px)** 
    58 Moves the button up or down relative to the top of the code block. 
     58Moves the button up or down relative to the top of the code block.
    5959Use positive or negative values to fine-tune vertical alignment.
    6060
    6161**Adjust horizontal position (right offset in px)** 
    62 Moves the button left or right by adjusting how far it sits from the right edge of the code block. 
     62Moves the button left or right by adjusting how far it sits from the right edge of the code block.
    6363Use positive or negative values to fine-tune horizontal alignment.
    6464
     
    7272The label shown normally (default: “Copy”).
    7373
    74 **Label after copying (2 seconds)** 
    75 Once the text is copied, the button temporarily displays this label. 
     74**Label after copying (2 seconds)**
     75Once the text is copied, the button temporarily displays this label.
    7676Default: “Copied”.
    7777
     
    8080### 3. **Button Size**
    8181
    82 **Button size (8–36 px)** 
    83 Controls the font size of the button. 
     82**Button size (8–36 px)**
     83Controls the font size of the button.
    8484Padding is automatically adjusted based on this value.
    8585
     
    8888### 4. **Button Colors**
    8989
    90 **Button text color** 
     90**Button text color**
    9191Hex color of button text.
    9292
    93 **Button background color** 
    94 Hex background color. 
     93**Button background color**
     94Hex background color.
    9595When copying, the plugin automatically swaps the text and background colors for visual feedback.
    9696However, if the background is transparent, only the text color is swapped.
    9797
    98 **Always transparent background** 
     98**Always transparent background**
    9999If enabled:
    100100- The button background always becomes transparent.
     
    105105### 5. **Code Block Max Height**
    106106
    107 **Code block max height (px)** 
    108 Sets a maximum height (minimum: 100px). 
     107**Code block max height (px)**
     108Sets a maximum height (minimum: 100px).
    109109Content taller than this becomes scrollable.
    110110
    111 **Enable** 
     111**Enable**
    112112Must be checked for the value to apply.
    113113
     
    118118### 6. **Display Line Numbers**
    119119
    120 **Display Line Numbers (Enable)** 
    121 Shows simple line numbers next to each line. 
     120**Display Line Numbers (Enable)**
     121Shows simple line numbers next to each line.
    122122Notes:
    123123- Line height is unified for consistency.
     
    133133You can add any custom CSS to adjust:
    134134
    135 - Button design 
    136 - Wrapper layout 
    137 - Code spacing 
    138 - Line number appearance 
     135- Button design
     136- Wrapper layout
     137- Code spacing
     138- Line number appearance
    139139
    140140Usable Selectors (CSS) :
Note: See TracChangeset for help on using the changeset viewer.