괄호 앞 음수 분배 스테이지 추가
This commit is contained in:
1 parent
1ed0611b9d
commit
5ee33bf0d3
13 files changed
+1644
-31
No files matched your search
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
|
||||
import { BlockMath, InlineMath } from "react-katex";
|
||||
|
||||
interface KatexRendererProps {
|
||||
latex: string;
|
||||
displayMode?: boolean;
|
||||
}
|
||||
|
||||
export default function KatexRenderer({
|
||||
latex,
|
||||
displayMode = false,
|
||||
}: KatexRendererProps) {
|
||||
return displayMode ? <BlockMath math={latex} /> : <InlineMath math={latex} />;
|
||||
}
|
||||
Reference in new issue
Block a user