diff --git a/app/src/components/markdown.tsx b/app/src/components/markdown.tsx index 56cce6a1..d008e6f9 100644 --- a/app/src/components/markdown.tsx +++ b/app/src/components/markdown.tsx @@ -74,6 +74,11 @@ export function Markdown(props: MarkdownProps) { remarkPlugins={[remarkGfm, remarkMath]} rehypePlugins={[rehypeKatex]} components={{ + ol({ start, children }) { + return
    + {children} +
; + }, code({ node, inline, className, children, ...props }) { const match = /language-(\w+)/.exec(className || '') const code = String(children); @@ -128,4 +133,4 @@ export function Markdown(props: MarkdownProps) { ), [props.content, classes, intl]); return elem; -} \ No newline at end of file +}