Make links in a text command-click-able.
var clickable = require('command-click');
var el = document.querySelector('p');
clickable(p);
Install with component(1):
$ component install juliangruber/command-click
Wrap each link inside el
in a <span>
and on CMD+Click
open it in a new tab/window.
Returns the unbind
function.
Stop listening for events.
MIT