From 216ecd5b32da3d0c1ca4746b5d826db36c66ae36 Mon Sep 17 00:00:00 2001 From: Cogent Apps <127109874+cogentapps@users.noreply.github.com> Date: Sun, 19 Mar 2023 02:46:33 -0700 Subject: [PATCH] fix list numbering --- app/src/components/markdown.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/components/markdown.tsx b/app/src/components/markdown.tsx index 56cce6a..d008e6f 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