Make search usable!

Search results show raw md instead of parsed md. Has this come up before? It’s unusable! There aren’t even line breaks.
Eg:
This is my actual content:
image

What I expect when searching for #index is:
initEvents
initTargetWeightage
populateInputsDropdown

However, this is what I see:
image

As you can see, if there are >10 results, there’s no way I can find what I want! It shows everything, right from the heading as raw .md.

Has this come up before? Will this be fixed? Sorry, but search seems like a pretty basic requirement!

13 Likes

The search results look similar to something like sublimeText or Bear where 1-2 lines of content before and after the search term is returned. But when working with code or the like search results can be hard to read out of context.

I would also suggest including line numbers or more formatting to help make the results easier to read.

True! Even if 1-2 lines were included for context, the changes required would be:
Critical:

  • Render as parsed MD with formatting
  • Include line breaks

Nice to have:

  • Line numbers
  • Show extra lines on hovering over a search result

Low:

  • Settings to customize Search results format: Toggle extra lines on/off
2 Likes