# 文本内高亮/点赞按钮（类似于引用，但不同）

**URL:** <https://meta.discourse.org/t/in-text-highlight-like-button-similar-to-quoting-but-different/275718>\
**Category:** Feature\
**Created:** [2023年八月18日 18:48 UTC](https://meta.discourse.org/t/in-text-highlight-like-button-similar-to-quoting-but-different/275718 "2023-08-18T18:48:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renato\_Mendes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato_mendes/32/308464_2.png) [@Renato\_Mendes](https://meta.discourse.org/u/Renato_Mendes)\
**Post date:** [2023年八月18日 18:48 UTC](https://meta.discourse.org/t/in-text-highlight-like-button-similar-to-quoting-but-different/275718/1 "2023-08-18T18:48:38Z")

</div>

嘿，各位！我是一个新的 Discourse 论坛所有者——我已经爱上它了 😃

我的社区于本周一（14 日）启动，所以我开始通过用户的体验深入了解该平台。

由于我每天需要回复大量的帖子，我意识到 Discourse 可以让我们只喜欢答案的某些部分，而无需打开答案来查看文本——就在“引用”按钮的旁边。

![image](https://global.discourse-cdn.com/meta/original/4X/a/5/4/a5403e732e85769dca1543d3dd8765b2a1baa7dd.png)

这可以认可用户为社区做出的贡献的价值，即使它没有在网站上引发具体的讨论。

从美学上讲，它可以根据获得的喜欢数量，让文本部分突出显示给高亮者和其他用户（Medium 有类似的功能）。

 ![Medium](https://global.discourse-cdn.com/meta/original/4X/3/c/3/3c3dd9bb1cdfa72234ecaf4081ba0f94d22bc8ef.png)

希望你们喜欢。如果已经有插件或替代方案，请告诉我。谢谢！ 😉

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年八月18日 19:21 UTC](https://meta.discourse.org/t/in-text-highlight-like-button-similar-to-quoting-but-different/275718/2 "2023-08-18T19:21:21Z")

</div>

我认为有人在这个主题上做了一些类似的工作：

> [@Feature: "Like" specific text inside a post, not just the post itself (Video)](https://meta.discourse.org/t/feature-like-specific-text-inside-a-post-not-just-the-post-itself-video/248386):
>
> Hi Community, I have a programming question related to a new feature that I am building on a theme component. I prepared a short video to demonstrate what I already have and where I am blocked. Here is a short description though: I want people to be able to “like” specific text inside posts (also other peoples’ posts) - not just the entire post. Once a user selects a text, he clicks a new icon which in turn wraps the selected text with the [warp] block, which I then use to style. …

---

<div class="post-metadata">

**Author:** ![Renato\_Mendes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato_mendes/32/308464_2.png) [@Renato\_Mendes](https://meta.discourse.org/u/Renato_Mendes)\
**Post date:** [2023年八月19日 03:52 UTC](https://meta.discourse.org/t/in-text-highlight-like-button-similar-to-quoting-but-different/275718/3 "2023-08-19T03:52:54Z")

</div>

太棒了，Jammy！希望它很快就能上市 🙂 谢谢！
