diff --git a/package.json b/package.json index adcb6e3..18c3c9c 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "react-spinners": "^0.13.8", "redux": "^4.2.1", "rehype-katex": "^6.0.3", + "remark-gfm": "^3.0.1", "remark-math": "^5.1.1" } } diff --git a/src/plugins/Socrates/MessageView.tsx b/src/plugins/Socrates/MessageView.tsx index 5e2bec2..6a631d7 100644 --- a/src/plugins/Socrates/MessageView.tsx +++ b/src/plugins/Socrates/MessageView.tsx @@ -4,6 +4,7 @@ import React from 'react'; import remarkMath from 'remark-math'; import rehypeKatex from 'rehype-katex'; import { AgentData } from './ConversationAgent'; +import remarkGfm from 'remark-gfm'; export default function MessageView({ message, @@ -53,7 +54,10 @@ export default function MessageView({ )} - + {message.text}