Skip to content

Commit

Permalink
FIX: markdown ordered list rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Oct 31, 2023
1 parent 548be65 commit eb0d531
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/frontend/src/components/common/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export const Markdown = ({
const { children } = ulProps
return <List>{children}</List>
},
ol: (olProps: any) => {
const { children } = olProps
return <List as="ol">{children}</List>
}
}

const sources: string[] = sourcesOrig || (source ? [source] : [''])
Expand Down

0 comments on commit eb0d531

Please sign in to comment.