# 是否可以用更多内容代替只含链接的文本？

**URL:** https://meta.discourse.org/t/replace-text-with-more-than-just-links/305672
**Category:** Feature
**Tags:** completed, watched-words
**Created:** [2024年四月27日 07:52 UTC](https://meta.discourse.org/t/replace-text-with-more-than-just-links/305672 "2024-04-27T07:52:19Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2024年四月27日 14:58 UTC](https://meta.discourse.org/t/replace-text-with-more-than-just-links/305672/10 "2024-04-27T14:58:34Z")

</div>

作为替代方案，您有两个主题组件：

- [Add \<abbr\> tags to words in posts](https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394) – 它用 `\u003cabbr\u003e` HTML 标签替换单词。  

- [GitHub - Arkshine/discourse-tooltipify-words](https://github.com/Arkshine/discourse-tooltipify-words) – 我以前为别人做的一个东西。它是 [Auto-Linkify Words](https://meta.discourse.org/t/linkify-words/82193) 的一个副本，但依赖于 `\u003cDTooltip\u003e` 组件，因此我们可以使用 HTML。您可以使用正则表达式。

---

_[View the full topic](https://meta.discourse.org/t/replace-text-with-more-than-just-links/305672)._
