mirror of
https://github.com/lawrencefeng17/obsidian-hidden-hyperlinks.git
synced 2026-07-22 13:10:27 +00:00
No description
- Remove generated main.js file from repository - Remove node_modules folder from repository - Remove unused keyboard-extension.ts file - Fix settings UI: remove top-level heading, use proper .setHeading() for sections - Convert setting names to sentence case per Obsidian UI guidelines |
||
|---|---|---|
| .gitignore | ||
| editor-extension.ts | ||
| esbuild.config.mjs | ||
| ghost_text_demo.gif | ||
| LICENSE | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| selection-extension.ts | ||
| settings.ts | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Hidden Hyperlinks Plugin for Obsidian
Hide arbitrary text behind display text and copy the hidden payload to the clipboard when clicked.
Features
- Hide Secret Text: Hide any text behind clickable display text
- One-Click Copy: Click to copy hidden text to clipboard
- Customizable Syntax: Configure your own delimiters and separators
- Unobtrusive Notifications: Get feedback when text is copied
- Theme-Aware Styling: Adapts to your Obsidian theme
- Tooltip: Show the hidden payload when hovering over the display text
Usage
Basic Syntax
Using the default delimiters:
::hidden payload|display text::
hidden payload- The secret text that gets copied to clipboarddisplay text- What users see and click on
Examples
* start interactive slurm job using ::srun --gres=gpu:1 --pty bash|this::
* I found this cool ::https://very-long-url.com/with/many/parameters|website::.
* this useful python file is ::really/long/file/path/that/does/not/nicely/fit/anywhere|here::
Custom Delimiters
You can customize the delimiters in the plugin settings:
- Start Delimiter: Default
:: - Separator: Default
| - End Delimiter: Default
:: - Notification Text: Default "Copied to clipboard!"
Installation
From Obsidian Community Plugins
- Open Obsidian Settings
- Go to Community Plugins and disable Safe Mode
- Click Browse and search for "Hidden Hyperlinks"
- Install and enable the plugin
Manual Installation
- Download the latest release files (
main.js,manifest.json,styles.css) - Create a folder named
obsidian-hidden-hyperlinksin your vault's.obsidian/plugins/directory - Place the downloaded files in this folder
- Reload Obsidian and enable the plugin in Community Plugins settings
Development
Building the Plugin
npm install
npm run build
Development Mode
npm run dev
This will watch for changes and rebuild automatically.
License
MIT
Support
If you encounter any issues or have feature requests, please file them on the GitHub repository.
