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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i hyperlinks2

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tootallnate