# 인용된 게시물의 해당 인용부로 바로 이동하고 강조 표시

**URL:** <https://meta.discourse.org/t/jump-to-the-quote-in-the-quoted-post-directly-and-highlight-the-quote/264559>\
**Category:** Feature\
**Tags:** fixed\
**Created:** [5월 10, 2023, 5:14오후 UTC](https://meta.discourse.org/t/jump-to-the-quote-in-the-quoted-post-directly-and-highlight-the-quote/264559 "2023-05-10T17:14:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [10월 20, 2026, 1:45오후 UTC](https://meta.discourse.org/t/jump-to-the-quote-in-the-quoted-post-directly-and-highlight-the-quote/264559/3 "2026-10-20T13:45:12Z")

</div>

@Dotila_Li / @singpolyma 좋은 소식이 있습니다 🙂

> <https://github.com/discourse/discourse/pull/44838>
>
> Previously, expanding a quote showed the whole quoted post, and following a quot…e jumped to the top of the quoted post. Readers had to find the quoted part themselves, which is hard in long posts (https://meta.discourse.org/t/264559).
> 
> This change highlights the quoted text in both cases and scrolls to it.
> 
> \- \`highlightQuote\` (in \`lib/quote.js\`) matches the quote against the post while ignoring whitespace, so bold, links, code and paragraph breaks don't break the match. It prefers whole words, and falls back to the longest matching start (at least 20 characters) when the post was edited after it was quoted.
> \- The quote text is read from the rendered quote when the user clicks, so content rewritten by decorators (e.g. local dates) matches the target post.
> \- Following a quote stores the text on the post stream (\`quoteHighlights\`). A \`quote-highlight\` cooked decorator highlights it whenever that post renders, and the jump uses a new \`anchor\` route option to land on the first highlight. Only the previous and new target posts re-render.
> \- \`LockOn\` now honours \`scroll-margin-top\`, which leaves a few lines of context above the highlight.
> \- Highlights dispatch a \`beforematch\` event so hidden content reveals itself: core opens \`\<details\>\` and the spoiler-alert plugin reveals spoilers.
> 
> Stacked on #44837.

---

_[View the full topic](https://meta.discourse.org/t/jump-to-the-quote-in-the-quoted-post-directly-and-highlight-the-quote/264559)._
