Comments (5)
IMHO in case of 2,3 and more dots user can really wish to have link + dots + text. If you know additional condition how to avoid false positives in all languages - let me know.
Full logic for path is here https://github.com/markdown-it/linkify-it/blob/master/lib/re.js#L36-L55
from linkify-it.
Do you have examples of live sites, having multiple dots in links? That should help to collect statictics.
from linkify-it.
I don't know, I think a link should be a link until a space or another invalid character is encountered – with very few exceptions, such as a link in round/square brackets or quotation marks.
from linkify-it.
Of course I have. It's used on this very website. For example, codemirror/codemirror5@mobile...master
I need it for https://www.jetbrains.com/upsource/ for the same purpose.
from linkify-it.
Ok. All github links with commit ranges. Thanks for good example.
from linkify-it.
Related Issues (20)
- url not matched when it contains `...:` HOT 2
- options to escape a particular link? HOT 1
- Schema keys are case-insensitive, but only in one direction? HOT 3
- Add .app TLD to tlds_default HOT 6
- Parsed incorrectly when the link ends with the closing parenthesis in Chinese
- Colon after URL is included into URL, when using markdown-it with `linkify: true` HOT 1
- How to return 0 in the validate function ? HOT 1
- Links preceded by emojis are not rendered
- Router admin login IP disclosed in source code HOT 1
- Error: Namespace 'LinkifyIt' has no exported member 'LinkifyIt' HOT 2
- `letter..&` should be allowed in link params
- Doesn't seem to support domain-specific rules HOT 1
- Inconsistent link recognition when wrapped within html element HOT 2
- Matching URL's that contain spaces %20 HOT 2
- url with !! is not detected correctly HOT 1
- Email links followed by a hyphen are not detected HOT 5
- URLs with period and parantheses stop before closing parentheses HOT 3
- Links with "_" in the domain name are not regarded as links HOT 2
- Links that are containing '?' are not detected HOT 1
- Links with slashes capturing trailing semicolons HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkify-it.