Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordered list is not rendered as expected using react-markdown and remark-gfm plugin #9

Closed
gilisho opened this issue Feb 17, 2021 · 3 comments
Labels

Comments

@gilisho
Copy link

gilisho commented Feb 17, 2021

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

Actual behavior

image

@gilisho gilisho added 🐛 type/bug This is a problem 🙉 open/needs-info This needs some more info labels Feb 17, 2021
@wooorm
Copy link
Member

wooorm commented Feb 17, 2021

Thanks for the report. It seems to be #3

@wooorm
Copy link
Member

wooorm commented Feb 22, 2021

Going to close this to direct the conversation and work to GH-3.

@wooorm wooorm closed this as completed Feb 22, 2021
@wooorm wooorm added 👯 no/duplicate Déjà vu and removed 🐛 type/bug This is a problem 🙉 open/needs-info This needs some more info labels Feb 22, 2021
@kacem22

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants