Handle file names appropriately for md files and render commits in github results

This commit is contained in:
sabaimran
2023-07-01 01:20:58 -07:00
parent dbe713604d
commit dac2d14380
2 changed files with 5 additions and 3 deletions

View File

@@ -70,7 +70,8 @@
} else if (
item.additional.file.endsWith(".md") ||
item.additional.file.endsWith(".markdown") ||
(item.additional.file.includes("issues") && item.additional.file.includes("github.com"))
(item.additional.file.includes("issues") && item.additional.file.includes("github.com")) ||
(item.additional.file.includes("commit") && item.additional.file.includes("github.com"))
)
{
html += render_markdown(query, [item]);