# Auto-Linkify Words

**URL:** https://meta.discourse.org/t/auto-linkify-words/82193
**Category:** Theme component
**Tags:** official, linkify-words
**Created:** [March 5, 2018, 7:16am UTC](https://meta.discourse.org/t/auto-linkify-words/82193 "2018-03-05T07:16:06Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [March 22, 2018, 12:00am UTC](https://meta.discourse.org/t/auto-linkify-words/82193/27 "2018-03-22T00:00:11Z")

</div>

this is amazing! can’t wait for the 2.0 stable release to finally use that!

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [April 5, 2018, 4:21pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/28 "2018-04-05T16:21:00Z")

</div>

If not implemented, I suggest another feature: Add a unique css class to every “linkified” link.

1. That way the link CSS can be styled in a less intrusive and yet outstanding manner, especially when using those for affiliate links. That way one can automatically add a a disclosure not that it’s a reflink.

2. Maybe in the future you can add the feature to put links in categories, each category with its own CSS class.

I am excited about this!

---

<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: [April 5, 2018, 9:29pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/29 "2018-04-05T21:29:07Z")

</div>

> [@anon36484860](#):
>
> If not implemented

This is already implemented 😌

---

<div class="post-metadata">

### Author: ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)
#### Post date: [April 12, 2018, 2:04pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/30 "2018-04-12T14:04:26Z")

</div>

One think that would be a nice addition, if possible, is to only linkify the first word in a post instead of each instance. For instance this post:

> **[Should I use auth0.js or Lock?](https://community.auth0.com/t/should-i-use-auth0-js-or-lock/6737)**
>
> I setup my Angular 2 project with Auth0 a while ago, and the Quickstart documentation had me set everything up with Lock. I don’t recall any mention of auth0.js at that time, but maybe I am just forgetting. I took a look at the docs today...

If the poster happens to use that word multiple times (not their fault) in their post, then it’s littered with links.

Another feature would be to restrict this from certain categories? Not sure if possible…

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [April 30, 2018, 3:41pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/31 "2018-04-30T15:41:51Z")

</div>

1. Is there any way to edit previously added links? I only see a way to remove and re-add them…
2. How can I set up links to open in new tab?

---

<div class="post-metadata">

### Author: ![southpaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/southpaw/32/79352_2.png) [@southpaw](https://meta.discourse.org/u/southpaw)
#### Post date: [May 25, 2018, 7:04pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/32 "2018-05-25T19:04:28Z")

</div>

> [@sam](#):
>
> one huge omission we have here is that it is ultra mega super painful working with long lists in settings, try this out with 50 or so links to experience the pain. We need a different “list” control for managing long lists of things.

Has there been any further thought on this pain point?

I’d like to illustrate with something (stupid) I did today.

I added one link to my list.  
I scrolled up the page and clicked the green arrow to save the newly-edited list.  
 ![image](https://global.discourse-cdn.com/meta/original/3X/a/1/a1d641656ef3ce47b195954983197dc9f6f84371.png)

I waited, and I waited…  
I’ve had some trouble with my mouse lately, so I thought, perhaps I only _thought_ I had clicked that green arrow.  
So I clicked it again… (you see where I’m going already, dontcha?)  
Just as I clicked that second time, the first click processed and the green arrow went away. In its place appeared the “reset” button, which registered my second click.  
 ![image](https://global.discourse-cdn.com/meta/original/3X/5/8/58e7a72dc0465fcc52e0b744d42cba315fbf1702.png)

Just like that, my entire list of links was gone, 🙀 and best I could tell, they had to be added back one by one.

And yes, before you say it, @codinghorror, I know… we don’t need a new UI, I just need a new mouse.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 25, 2018, 7:15pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/33 "2018-05-25T19:15:50Z")

</div>

That is a bummer ☹ do you have the list stored anywhere else?

---

<div class="post-metadata">

### Author: ![southpaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/southpaw/32/79352_2.png) [@southpaw](https://meta.discourse.org/u/southpaw)
#### Post date: [May 25, 2018, 7:37pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/34 "2018-05-25T19:37:59Z")

</div>

Yessir. Since my TL3s helped build and continue to contribute to the list, we maintain a table of the linked words and their links as a wiki in the TL3’s “lounge”.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [May 25, 2018, 7:40pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/35 "2018-05-25T19:40:41Z")

</div>

> [@southpaw](#):
>
> Just as I clicked that second time, the first click processed and the green arrow went away. In its place appeared the “reset” button, which registered my second click.  
> Just like that, my entire list of links was gone, 🙀 and best I could tell, they had to be added back one by one.

I’ve been bit by this before, this shares the UX of site settings. I for one would be in favor of a “are you sure you want to reset” modal, similar to other non-reversible actions like deleting a user, deleting a draft, deleting a tag, etc.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [May 25, 2018, 7:45pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/36 "2018-05-25T19:45:13Z")

</div>

I know some don’t like needing another click. But for destructive actions that are not (easily) reversible it makes sense to me. A lot easier than a progress indicator that indicates a need to be patient..

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 25, 2018, 8:04pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/37 "2018-05-25T20:04:02Z")

</div>

Makes sense when the setting is LARGE and has LOTS of content in it, so I think it should be conditional not “mindlessly confirm everything all the time”.

---

<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: [May 25, 2018, 10:48pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/38 "2018-05-25T22:48:37Z")

</div>

We are slotting making this control work better for lists, additionally I will slot adding history for theme settings for 2.1

So sorry you lost the list

---

<div class="post-metadata">

### Author: ![southpaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/southpaw/32/79352_2.png) [@southpaw](https://meta.discourse.org/u/southpaw)
#### Post date: [May 26, 2018, 2:47am UTC](https://meta.discourse.org/t/auto-linkify-words/82193/39 "2018-05-26T02:47:03Z")

</div>

> [@sam](#):
>
> So sorry you lost the list

It was backed up, so rebuilding it took only half an hour or so. The experience just made me wonder if anything new had happened in this topic. I’m glad it sparked some ideas. 🙂

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 26, 2018, 8:38am UTC](https://meta.discourse.org/t/auto-linkify-words/82193/40 "2018-05-26T08:38:13Z")

</div>

Definitely on the top of my list for 2.1

---

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [June 3, 2018, 1:36pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/41 "2018-06-03T13:36:38Z")

</div>

Did you figure out how to get outbound links to open in new tab? I have my global set to open all outbound links in new tab. It is functioning on the site. Just not here.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 3, 2018, 1:55pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/42 "2018-06-03T13:55:30Z")

</div>

The permalinks page seems somewhat similar and it too is fairly painful. It’s impossible to see what values are if they are too long to display.

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [June 3, 2018, 3:20pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/43 "2018-06-03T15:20:40Z")

</div>

Yes, fairly easy, found in this fork:

> <https://github.com/jrgong420/discourse-linkify-words/commit/0d4b55ac72e2ee9b59bd1f0cf7304284abd69f00>
>
> Added target blank

---

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [June 3, 2018, 3:25pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/44 "2018-06-03T15:25:01Z")

</div>

Thanks much! It appears to be an easy addition to the code… if you know where to put it and what format. I didn’t. I sure appreciate your response and providing the link. It works exactly as I want it to, now. Cheers!

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [June 5, 2018, 11:40am UTC](https://meta.discourse.org/t/auto-linkify-words/82193/45 "2018-06-05T11:40:20Z")

</div>

Is there any way to host + edit the list externally as a workaround? e.g. a hosted txt or CSV file which is updated in the discourse settings automatically?

//EDIT: Also I have an issue with the theme component. When it’s active, new posts cannot be created. After hitting the reply button and typing the first two letters, the tab immediately freezes!

I am running on 2.1.0.beta1

---

<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: [June 5, 2018, 10:17pm UTC](https://meta.discourse.org/t/auto-linkify-words/82193/46 "2018-06-05T22:17:03Z")

</div>

Hmm what web browser is this, what is the exact version? How long is your list?

[Previous page](https://meta.discourse.org/t/auto-linkify-words/82193.md?page=1)

[Next page](https://meta.discourse.org/t/auto-linkify-words/82193.md?page=3)
