# Auto-Linkify Words

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

<div class="post-metadata">

### Author: ![Manikandan\_Sivakumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manikandan_sivakumar/32/141020_2.png) [@Manikandan\_Sivakumar](https://meta.discourse.org/u/Manikandan_Sivakumar)
#### Post date: [5월 28, 2019, 9:53오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/130 "2019-05-28T21:53:37Z")

</div>

Hi this is a wonderful feature for discourse but can we limit the number of times it appears overall in a single thread topic? If we have a discussion post asking shopify vs woocommerce then the entire thread will be occupied by the hyperlinks whenever someone mentions any of these. ☹

---

<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: [5월 28, 2019, 11:39오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/131 "2019-05-28T23:39:11Z")

</div>

We can definitely add a theme setting for this, PR welcome. I think a default limit of 3 auto links per word makes sense as a good initial default.

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [5월 30, 2019, 9:09오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/132 "2019-05-30T09:09:46Z")

</div>

> [@danekhollas](#):
>
> I’ve looked into this and it would be tricky to implement without a major rewrite. The current code works per individual paragraphs. Moreover, it works backwards from the last one to the first, so the code would probably need to do an additional forward pass to remove the extra links. This is further complicated by dynamic loading of posts. Not sure all this is worth it for this feature.

This feature has already been discussed couple posts above…tl;dr probably not so easy to implement.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [6월 21, 2019, 7:39오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/133 "2019-06-21T07:39:15Z")

</div>

Is there any way to disable linkify in a specific category? In my case I have a blog category which contains content from a wordpress installation. Hence I don’t want linkify to be active there.

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [6월 21, 2019, 10:10오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/134 "2019-06-21T10:10:38Z")

</div>

Sure, that shouldn’t be hard I think. I can have a look. If there’s more people intereted in this feature, I’ll submit a PR with a new theme settings. If not, I can just post a code snippet that you can include into your theme manually. I’ll try to have a look next week.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [6월 27, 2019, 9:13오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/135 "2019-06-27T09:13:59Z")

</div>

> [@sam](#):
>
> We need a different “list” control for managing long lists of things.

Hey @sam

are there any news on this? I tried to search if there are any plans to improve the management of “lists” in theme settings but could not find anything

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [6월 27, 2019, 9:33오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/136 "2019-06-27T09:33:56Z")

</div>

This is already implemented. What you see in linkify settings IS the new list management. 🙂

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [6월 27, 2019, 9:49오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/137 "2019-06-27T09:49:13Z")

</div>

Thx for the note, that clarifies it 🙂  
That “new” list already a great improvement!

Yet for large lists it’s still a bit of a hassle  
I think an import/export feature for a simple CSV would make make a huge improvement there  
Or simply pointing to a CSV URL which is pulled let’s say every 24h. or by manually by clicking a button

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 16, 2019, 9:00오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/138 "2019-08-16T09:00:27Z")

</div>

You can add Option to Only insert Once time in one topic or reply?

It show every keyword in topic.

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [8월 16, 2019, 9:52오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/139 "2019-08-16T09:52:47Z")

</div>

If you want to have it only once per post, you can input your linked word as a regex, i.e.

`/WORD/,URL`

Having it only once per topic is non-trivial, see discussion above.

---

<div class="post-metadata">

### Author: ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)
#### Post date: [8월 19, 2019, 2:34오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/140 "2019-08-19T02:34:02Z")

</div>

Thank you. It’s working now.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [10월 27, 2019, 11:32오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/141 "2019-10-27T11:32:15Z")

</div>

FA4를 제거하고 싶은데, 아직 linkify가 FA4에 의존하고 있습니다.  
링크 앞에 SVG 아이콘을 추가하는 방법이 있을까요?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [10월 27, 2019, 5:36오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/142 "2019-10-27T17:36:01Z")

</div>

Discourse에서 자동 링크 변환(autolink)이 적용된 단어가 하나 있었는데, Discourse가 언급될 때마다 매번 링크가 생성되어 하나의 주제 안에서 링크가 과도하게 쌓이는 문제가 있어서 제거하기로 했습니다. 때로는 관련 없는 링크가 링크가 없는 것보다 더 나쁜 경우도 있습니다.

다만 이 컴포넌트에 좋은 사용 사례가 하나 있습니다. 예를 들어, ISBN 번호를 inventaire.io의 책 설명 페이지로 자동 링크하는 것입니다:

`/isbn:([0-9]{13})/,https://inventaire.io/entity/isbn:$1`

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [10월 31, 2019, 9:48오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/143 "2019-10-31T09:48:04Z")

</div>

> [@jrgong](#):
>
> FA4를 제거하고 싶은데, 지금까지 linkify가 FA4에 의존하고 있습니다.

무슨 뜻이신가요? Linkify 테마는 FA 아이콘에 의존하지 않습니다.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [10월 31, 2019, 1:37오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/144 "2019-10-31T13:37:07Z")

</div>

알고 있어요. 근데 저는 FA4를 사용해서 링크파이에 링크에 아이콘을 추가하고 있어요. FA5에서는 어떻게 하면 되는지 모르겠어요.

---

<div class="post-metadata">

### Author: ![loginerror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loginerror/32/156605_2.png) [@loginerror](https://meta.discourse.org/u/loginerror)
#### Post date: [11월 22, 2019, 6:11오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/145 "2019-11-22T18:11:34Z")

</div>

링크에 툴팁을 추가하는 것이 쉬운 개선 사항일까요?

다음과 같은 형식으로 입력할 수 있도록 하면 좋겠습니다:  
`keyword, link, tooltip`

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [11월 28, 2019, 4:48오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/146 "2019-11-28T16:48:06Z")

</div>

혹시 abbrify 플러그인이 필요하신 건가요?

> [@Add \<abbr\> tags to words in posts](https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394):
>
> About This theme component is ported from [Auto-Linkify Words](https://meta.discourse.org/t/linkify-words-in-post/82193) to provide functionality similar to the [Abbreviations and acronyms plugin](https://meta.discourse.org/t/abbreviations-and-acronyms-plugin/38501) – namely to wrap various abbreviations used in a given forum/site/Discourse installation in \<abbr\> tags. Location [https://github.com/metabrainz/discourse-abbrify-words](https://github.com/metabrainz/discourse-abbrify-words)How to install Credits Thanks to @sam for writing the “Linkify words in post” plugin.

두 플러그인이 어떻게 상호작용하는지 정확히 파악하기 어렵습니다. 정상 작동하려면 약간의 커스터마이징이 필요할 수 있으며, 필요하시면 도와드리겠습니다.

---

<div class="post-metadata">

### Author: ![loginerror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loginerror/32/156605_2.png) [@loginerror](https://meta.discourse.org/u/loginerror)
#### Post date: [11월 28, 2019, 9:33오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/147 "2019-11-28T21:33:14Z")

</div>

현재 스크립트에 한 줄을 추가하여 수정한 후 해결했습니다. 이제 대상 URL이 링크 제목으로 붙습니다. 정말 잘 작동합니다.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [12월 4, 2019, 9:54오전 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/148 "2019-12-04T09:54:18Z")

</div>

링크라이파이(linkify) 설정에 항목이 꽤 많습니다. 전체를 내보내는 방법이 있을까요? 내보내기 버튼을 눌러도 기본 목록만 내보내집니다.

---

<div class="post-metadata">

### Author: ![loginerror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loginerror/32/156605_2.png) [@loginerror](https://meta.discourse.org/u/loginerror)
#### Post date: [12월 4, 2019, 4:31오후 UTC](https://meta.discourse.org/t/auto-linkify-words/82193/149 "2019-12-04T16:31:46Z")

</div>

안녕하세요 @jrgong

[Data Explorer](https://meta.discourse.org/t/32566?silent=true) 플러그인 쿼리로 모두 가져올 수 있습니다 🙂

[이전 페이지](https://meta.discourse.org/t/auto-linkify-words/82193.md?page=6)

[다음 페이지](https://meta.discourse.org/t/auto-linkify-words/82193.md?page=8)
