mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Add a Github plugin which can be used to read from a Github repository
This commit is contained in:
@@ -66,6 +66,8 @@
|
||||
return render_ledger(query, data);
|
||||
} else if (type === "pdf") {
|
||||
return render_pdf(query, data);
|
||||
} else if (type == "github") {
|
||||
return render_markdown(query, data);
|
||||
} else {
|
||||
return `<div id="results-plugin">`
|
||||
+ data.map((item) => `<p>${item.entry}</p>`).join("\n")
|
||||
@@ -296,7 +298,7 @@
|
||||
text-align: left;
|
||||
white-space: pre-line;
|
||||
}
|
||||
#results-markdown {
|
||||
#results-markdown, #results-github {
|
||||
text-align: left;
|
||||
}
|
||||
#results-music,
|
||||
|
||||
Reference in New Issue
Block a user