Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: add remarkGfm to research panel for table rendering

nash_suc624542c0250
diff --git a/src/components/layout/research-panel.tsx b/src/components/layout/research-panel.tsx
index 155db0e5..71889bd3 100644
--- a/src/components/layout/research-panel.tsx
+++ b/src/components/layout/research-panel.tsx
@@ -1,5 +1,6 @@
import { useState, useRef, useEffect, useMemo } from "react"
import ReactMarkdown from "react-markdown"
+import remarkGfm from "remark-gfm"
import remarkMath from "remark-math"
import rehypeKatex from "rehype-katex"
import "katex/dist/katex.min.css"
@@ -160,7 +161,7 @@ function SynthesisBlock({ synthesis, isStreaming }: { synthesis: string; isStrea
</div>
)}
{answer && (
- <ReactMarkdown remarkPlugins={[remarkMath]} rehypePlugins={[rehypeKatex]}>
+ <ReactMarkdown remarkPlugins={[remarkGfm, remarkMath]} rehypePlugins={[rehypeKatex]}>
{answer}
</ReactMarkdown>
)}