Skip to content

Commit

Permalink
Update markdown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
groblox committed Jun 1, 2023
1 parent a9c3f38 commit 2dde6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function Markdown(props: MarkdownProps) {
rehypePlugins={[rehypeKatex]}
components={{
ol({ start, children }) {
return <ol start={start ?? 1} style={{ counterReset: `list-item ${(start || 1)}` }}>
return <ol start={start ?? 0} style={{ counterReset: `list-item ${(start || 0)}` }}>
{children}
</ol>;
},
Expand Down

0 comments on commit 2dde6f7

Please sign in to comment.