Sphinx: pretty search results is an extension for the Sphinx
documentation tool.
To display search results, Sphinx is fetching the
source files of search hits and rendering excerpts in raw markup
(Example). This extension removes the markup from these source files
(during build time), so the search results look decent.
sphinxprettysearchresults
sphinx-contrib/sphinx-pretty-searchresults