Ordered list is not rendered as expected using react-markdown and remark-gfm plugin
gilisho opened this issue · comments
Subject of the issue
I have users who want to render some content in an ordered list. The content looks good in Github, but when I render it with react-markdown
using the remark-gfm
plugin, it gets rendered wrong and the whole list is not looking as expected.
Your environment
- Packages:
react-markdown
(version 5)
Steps to reproduce
Example in codesandbox.io
:
https://codesandbox.io/s/react-markdown-forked-v6iy7?file=/src/App.js
Expected behavior
Should render the ordered list exactly like in Github:
1. some text
some link
2. Number two