The search does not search the visible results of all macro outputs on the page, but instead it searches only the same text that would be available in the editor.
If you want it to be able to be searchable, then I would recommend making a part of your user macro create an invisible div (can be done with class="hidden") and save it to the end of the page. Something like this:
Your user macro can search if the hidden div exists, and only if it doesn't exist, then it will create one (that way it doesn't create a new div and page save every single time). Because it is then saved in the storage format, it should show up in the search.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs