The use case: I have a long glossary/reference page and need users to search within that page
Why the current macro falls short: The Live Search macro only returns other pages, which is identical to the global search bar — making it redundant
What I would like: A parameter on the Live Search macro (or a new macro) that searches within the body of the current page and highlights/jumps to matches
Who benefits: Anyone maintaining glossaries, FAQs, knowledge bases, or long reference docs
Exactly my thoughts -- Confluence pages are currently missing a native on-page search feature, and unfortunately there's no built-in way to achieve this.
But I've been experimenting with an app we're developing and managed to build a solution that works quite well.
It's a user macro that retrieves the page content, performs a live search, and lets users jump directly to the matching item on the page.
Here's a ready-to-use template, along with how it looks in action:
If you'd like to try it out or need any help setting it up, just let me know!
Welcome to the Atlassian Community @Manon Kouwenhoven
Please take a look at the following page, someone had similar question to yours:
Bestm
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manon Kouwenhoven One thing I do to make it easier for readers to find terms is to put a heading above each group. You can do each applicable letter or a group of letters in the heading. I have mine in tables for formatting purposes. I don't have that many terms, so I group them like this:
At the top of the page, I have a Table of contents macro configured like this, so it only includes the headings that I have used (e.g., if you don't group and have no terms that start with Q, you don't put in that heading so that Q doesn't appear in your TOC):
For searching within only the current page, I would put a note at the top suggesting that people use their browser's Find feature. This is probably the best workaround for now, since I'm not sure whether Atlassian would put a high priority on your feature request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your tips!
Just thought it would be very easy for Atlasian to add a Search bar Macro, which does just CTRL-F.
My terms & abbreviations are divided in specific groups. But maybe I should reconsider to do all in alphabetical order and make a group per letter, which I can then refer to from the top as you suggested.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Manon Kouwenhoven
For product suggestions, please open a ticket with Atlassian Support. That is the correct flow in this case.
Best,
Arek🤠
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.