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: reader mode not get h1... style

bigideacaf33bf4fb34
diff --git a/src/components/editor/wiki-reader.tsx b/src/components/editor/wiki-reader.tsx
index e9bbd363..ff706164 100644
--- a/src/components/editor/wiki-reader.tsx
+++ b/src/components/editor/wiki-reader.tsx
@@ -12,6 +12,7 @@ import { detectLanguage } from "@/lib/detect-language"
import { getHtmlLang, getTextDirection } from "@/lib/language-metadata"
import { useWikiStore } from "@/stores/wiki-store"
import { MermaidDiagram, unwrapMermaidPre } from "@/components/mermaid-diagram"
+import "@milkdown/theme-nord/style.css"
interface WikiReaderProps {
body: string
@@ -58,7 +59,7 @@ export function WikiReader({ body }: WikiReaderProps) {
return (
<div
- className="prose prose-invert min-w-0 max-w-none"
+ className="milkdown-theme-nord min-w-0 max-w-none"
dir={direction}
lang={htmlLang}
style={{ textAlign: "start" }}