Nearsighted Prank Master
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hyperlinks2

1.0.0 • Public • Published

hyperlinks

Extension for HyperTerm that automatically links URLs.

Demo

How to use

Install HyperTerm and add hyperlinks to the plugins array in ~/.hyperterm.js.

Hold the ⌘ key down on your keyboard and move the mouse over a URL or email address and a link will appear where your cursor is. Click a URL to open in a web browser, or click an email address to open in your mail client.

Customizing styles

Add custom styles to termCSS in your ~/.hyperterm.js.

The metaKey class name is applied to the top-level while the ⌘ key is being held, for further styling.

termCSS: `
  x-screen a {
    color: pink;
  }
 
  .metaKey x-screen {
    cursor: pointer;
  }
`

License

MIT

Keywords

install

npm i hyperlinks2

Downloadsweekly downloads

2

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability