mirror of
https://github.com/jldiaz/copy-protocol-plugin.git
synced 2026-07-22 06:56:55 +00:00
docs: expand README with hover previews section; style: use 6-digit hex color for Obsidian compliance
This commit is contained in:
parent
0ba3ace762
commit
9cfb1e0c3c
2 changed files with 9 additions and 1 deletions
|
|
@ -54,6 +54,14 @@ The plugin includes a command called **Copy Protocol: Paste clipboard as copy-pr
|
|||
```
|
||||
5. Clicking that link copies `git log --oneline` to your clipboard instantly.
|
||||
|
||||
## Hover Previews
|
||||
|
||||
You can preview the text that a copy link contains before actually copying it.
|
||||
|
||||
- **To preview**: Hold `Ctrl` (or `Cmd` on macOS) while hovering your mouse over any `obsidian://copy` link or copy icon.
|
||||
- A custom, theme-aware tooltip will appear showing a snippet of the text to be copied (e.g., `Copy: "your command here"`).
|
||||
- This allows you to verify exactly what is going to be copied without needing to click it or inspect the markdown source.
|
||||
|
||||
## Installation
|
||||
|
||||
You can install this plugin from the Community Plugins settings of Obsidian, or via [BRAT](https://github.com/TfTHacker/obsidian42-brat):
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ a.copy-protocol-link:hover {
|
|||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
color: var(--text-normal);
|
||||
border: 1px solid var(--border-color, var(--background-modifier-border, #444));
|
||||
border: 1px solid var(--border-color, var(--background-modifier-border, #444444));
|
||||
border-radius: 6px;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue