Well looks like something was wrong with how I was trying to
generate the ranking for each result.
Make a template to show the results
Markdownify the snippets before sending them to the template