# Automatic link creation for non-tld

**URL:** https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387
**Category:** Support
**Created:** [November 20, 2017, 1:38am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387 "2017-11-20T01:38:43Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [November 20, 2017, 1:38am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/1 "2017-11-20T01:38:43Z")

</div>

I am not sure if this has cropped up before. A cursory search in /c/bug didn’t turn anything up that looked related.

I love getting links automatically for URLs: [google.com](http://google.com), or [pixls.us](http://pixls.us), or [gimp.org](http://gimp.org).

Is there a list for allowed TLD’s to auto-linkify? That is, if I use a file with an extension like markdown, it gets turned into a link also: README.md (\<- that is just typing a filename + extension, not an actual link I’ve created. ☹

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [November 20, 2017, 1:47am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/2 "2017-11-20T01:47:29Z")

</div>

Given ICANN’s predilection for stuffing the entire dictionary into the TLD space, it’s probably a losing proposition to try and whitelist _actual_ TLDs (as an amusing note, `.md` is a valid ccTLD, for Moldova, so even if we did have a list of “valid” TLDs, README.md is a perfectly valid domain name, and does, in fact, exist – and resolve).

For filenames, specifically, I suggest wrapping them in backticks, which maintains the long-standing convention of monospace fonts for that sort of thing, and which prevents auto-linkification, a la `README.md`. Trying to educate people to mark up their links in some specific way, such as wrapping them in angle brackets, or having to include the scheme, or including a forward slash, I think are all doomed to sadness.

---

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [November 20, 2017, 1:52am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/3 "2017-11-20T01:52:47Z")

</div>

Sounds perfectly reasonable. 🙂 I’ll do some community education on code-escaping filenames.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 13, 2017, 6:40am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/4 "2017-12-13T06:40:40Z")

</div>

I am not sure how this is a bug report? moved it to #Support

We intend to crack down here in a later release. per: [Restrict domain name autolinking so M.Sc and B.Sc are not auto linked](https://meta.discourse.org/t/restrict-domain-name-autolinking-so-m-sc-and-b-sc-are-not-auto-linked/75837)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 15, 2020, 7:41am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/5 "2020-02-15T07:41:05Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 18, 2020, 9:39am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/6 "2020-02-18T09:39:05Z")

</div>

> [@Patrick\_David](#):
>
> README.md

😌

Stuff is not perfectly detected now out of the box, there are many obscure tlds, but with the setting `markdown linkify tlds` in site settings you get total control!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 18, 2020, 9:39am UTC](https://meta.discourse.org/t/automatic-link-creation-for-non-tld/74387/7 "2020-02-18T09:39:13Z")

</div>


