chat-with-gpt icon indicating copy to clipboard operation
chat-with-gpt copied to clipboard

Ordered lists start at 2?

Open MikeWilliamsTC opened this issue 2 years ago • 1 comments

Is this the desired behavior? Should the list start at 1 by default?

image

MikeWilliamsTC avatar May 01 '23 19:05 MikeWilliamsTC

Changing the below line seemed to have worked

app/src/components/markdown.tsx

-  <ol start={start ?? 1} style={{ counterReset: list-item ${(start || 1)} }}>
+  <ol start={start ?? 0} style={{ counterReset: list-item ${(start || 0)} }}>

bsu3338 avatar May 02 '23 13:05 bsu3338