linkify-it
linkify-it copied to clipboard
Links recognition library with full unicode support
## what is the issue? Links with "_" in the domain name, for eg: - https://api_stage.dzcode.io - https://api_stage.dz_code.io are not regarded as links, which is no true, see : https://stackoverflow.com/a/2183140/8113942...
Hey, First, thanks for the amazing library! This is linked to #66 I assume but I cannot make this URL be matched by linkify `https://odysee.com/@spacebusters:c9/It's-beginning-to-look...:1` But without the semicolon it...
This PR fixed the bug reported in #95 The change is adding a `_` in `src_pseudo_letter` regEx, to be able to detect links such as: - api_stage.dzcode.io - api_stage.dz_code.io which...
When there is a valid email address, such as [email protected], if it is followed by a hyphen, linkify.test returns false: ``` console.log(linkify.test('[email protected]')); // true console.log(linkify.test('[email protected],')); // true console.log(linkify.test('[email protected]')); // false...
As discussed in #22. Examples: - `http://example.com/render?target=summarize(deriviative(app.numUsers),%221min%22)&title=New_Users_Per_Minute`, from [Graphite](http://graphite.readthedocs.org/en/1.0/url-api.html) - `http://sv-t-vnl-forge-metrics:5601/?#/dashboard/Logs-Marmotte?_a=(filters:!(),panels:!((col:1,columns:!(message,host,tags),id:Marmotte-logs,row:1,size_x:12,size_y:8,sort:!('@timestamp',asc),type:search)),query:(query_string:(analyze_wildcard:!t,query:'*')),title:'Logs%20Marmotte')&_g=(refreshInterval:(display:'10%20seconds',pause:!f,section:1,value:10000),time:(from:now-15m,mode:quick,to:now))`, generated by the "share" link of Kibana 4. Considerations: 1. first implementation of #22 was rejected due ignoring rules...
Steps to reproduce: 1. linkify the following text 【视频奇志大兵《发烧友》 在线观看 - 酷6视频】奇志大兵《发烧友》 在线观看,奇志 大兵 搞笑双簧 _ 发烧友 (追星族) http://t.cn/RZwjG7U(分享自 @酷6网) 1. the output link is `http://t.cn/RZwjG7U(分享自` whereas the output link...
1. Have the markdown: `test https://example.org/abc: test` 2. Parse it with `markdown-it`, where `linkify` option is enabled. See sandbox: https://markdown-it.github.io/#md3=%7B%22source%22%3A%22test%20https%3A%2F%2Fexample.org%2Fabc%3A%20test%22%2C%22defaults%22%3A%7B%22html%22%3Afalse%2C%22xhtmlOut%22%3Afalse%2C%22breaks%22%3Afalse%2C%22langPrefix%22%3A%22language-%22%2C%22linkify%22%3Atrue%2C%22typographer%22%3Atrue%2C%22_highlight%22%3Atrue%2C%22_strict%22%3Afalse%2C%22_view%22%3A%22html%22%7D%7D Expected result: Colon is **not included** into parsed URL, as...
When the link ends with the closing parenthesis in Chinese, the link is parsed incorrectly. For example: `(https://github.com/user/repo)` would be parsed as (https://github.com/user/repo)
linkify-it currently supports apostrophes in the path, such as: http://foo.com/blah_blah_I'm_king However, there is no support for apostrophes followed by punctuation. This link is not found by linkify-it: https://odysee.com/@EatMoreVegans:4/can-chefstemp-knock-thermoworks':0 What's happening...
Playground Link: http://markdown-it.github.io/linkify-it/#t1=%F0%9F%9A%80https%3A%2F%2Fgoogle.com%0A%0A%F0%9F%9A%80%20https%3A%2F%2Fgoogle.com Potential fix could be to add `\p{Extended_Pictographic}` into the `schema_test` & `schema_match` `self.re.schema_test = RegExp('(^|(?!_)(?:[>