# 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: ```markdown ::hidden payload|display text:: ``` - `hidden payload` - The secret text that gets copied to clipboard - `display text` - What users see and click on ### Examples ![Demo](ghost_text_demo.gif) ```markdown * 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 1. Open Obsidian Settings 2. Go to Community Plugins and disable Safe Mode 3. Click Browse and search for "Hidden Hyperlinks" 4. Install and enable the plugin ### Manual Installation 1. Download the latest release files (`main.js`, `manifest.json`, `styles.css`) 2. Create a folder named `obsidian-hidden-hyperlinks` in your vault's `.obsidian/plugins/` directory 3. Place the downloaded files in this folder 4. Reload Obsidian and enable the plugin in Community Plugins settings ## Development ### Building the Plugin ```bash npm install npm run build ``` ### Development Mode ```bash 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](https://github.com/your-username/obsidian-hidden-hyperlinks).