No description
Find a file
lawrencefeng17 bec9d8d55b Fix PR review issues
- 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
2025-07-28 22:22:49 -07:00
.gitignore feat: hide and reveal, click to copy, selection expansion, styled syntax, hover tooltips reveal text payload, settings integration 2025-06-19 23:34:36 -07:00
editor-extension.ts fixes 2025-07-08 10:59:28 -07:00
esbuild.config.mjs feat: hide and reveal, click to copy, selection expansion, styled syntax, hover tooltips reveal text payload, settings integration 2025-06-19 23:34:36 -07:00
ghost_text_demo.gif updated README with demo gif 2025-06-28 18:10:17 -07:00
LICENSE Create LICENSE 2025-06-23 18:41:47 -07:00
main.ts fixes 2025-07-08 10:59:28 -07:00
manifest.json 1.0.3 2025-07-08 11:01:17 -07:00
package-lock.json 1.0.3 2025-07-08 11:01:17 -07:00
package.json 1.0.3 2025-07-08 11:01:17 -07:00
README.md fixed internal link 2025-06-28 18:12:07 -07:00
selection-extension.ts feat: hide and reveal, click to copy, selection expansion, styled syntax, hover tooltips reveal text payload, settings integration 2025-06-19 23:34:36 -07:00
settings.ts Fix PR review issues 2025-07-28 22:22:49 -07:00
styles.css bug fixes in reading mode 2025-06-23 23:32:55 -07:00
tsconfig.json feat: hide and reveal, click to copy, selection expansion, styled syntax, hover tooltips reveal text payload, settings integration 2025-06-19 23:34:36 -07:00
version-bump.mjs Initial commit 2025-06-19 12:13:49 -07:00
versions.json 1.0.3 2025-07-08 11:01:17 -07:00

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 clipboard
  • display text - What users see and click on

Examples

Demo

* 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

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.