linkifyjs
linkifyjs copied to clipboard
JavaScript plugin for finding links in plain-text and converting them to HTML <a> tags.
Hi, How could I create a custom plugin to detect phone numbers? Thank you.
v4.0
## Breaking Changes * Removed deprecated `linkifyjs/string`, `linkifyjs/html`, `linkifyjs/plugins/*` packages * Refactored scanner internals break plugins created with Linkify v3 * Links that begin with `mailto:` now have type `url`...
Hey, I recently ran into this plugin and started using it. I'm trying to find a way to detect and linkify custom prefixes ... e.g. `UID-123123`. Also, I did look...
https://github.com/Hypercontext/linkifyjs/blob/3eb5b8aacc286e57e220cd6ce2d9c139d96e7322/packages/linkifyjs/src/core/fsm.js#L79-L81 ``` nextState.jr.append(templateState.jr); nextState.jr = templateState.jd; //
Here is an attempt to create a timeline plugin, but looks like something is broken with the `NUM` token since it captures texts. Any idea why it captures 'abc:2:3`, as...
Using v4.0.0-beta.4 [`geo`](https://en.wikipedia.org/wiki/Geo_URI_scheme) doesn't work as a custom scheme but custom schemes that are 4 characters or longer do work
Using v4.0.0-beta.4 When attempting to register the custom protocol `openpgp4fpr` (which is a [safelisted scheme](https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers:safelisted-scheme)), Linkify shows the error: Must only contain lowercase ASCII letters.
When using `linkify-element` 4.0.0-beta.3, it seems the bundled type definitions in the package don't provide a type for the `Options` arg of `linkifyElementHelper`: ``` node_modules/linkify-element/index.d.ts:24:67 - error TS2304: Cannot find...