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

Render bullet-pointed incorrectly #2832

Open
hzoou opened this issue Jun 5, 2023 · 8 comments
Open

Render bullet-pointed incorrectly #2832

hzoou opened this issue Jun 5, 2023 · 8 comments
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@hzoou
Copy link

hzoou commented Jun 5, 2023

Marked version:
v5.0.4

Describe the bug
#2819 (comment)

If the tab size is 2, it will be solved, but if it is 4, it will be reproduced equally ... 😂
Please check. 🙏🏻

@calculuschild
Copy link
Contributor

calculuschild commented Jun 5, 2023

I can confirm, a third nested list item will fail according to the spec, however this appears to be the same behavior as Commonmark.

- title
  - desc
    - 

gives

  • title
    • desc

Marked.js demo

commonmark demo

@UziTech UziTech added L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue category: lists labels Jun 5, 2023
@hzoou
Copy link
Author

hzoou commented Jun 5, 2023

@calculuschild I think it was misrepresented..!
It is reproduced in the following case. (4 space in 1 depth)

- title
    - desc
    - 
- title
    - 

marked demo

@hzoou
Copy link
Author

hzoou commented Jun 21, 2023

Please someone correct this issue .. 😂

@calculuschild
Copy link
Contributor

@hzoou We are always accepting PRs if you would like to contribute a fix!

@dvptl68
Copy link

dvptl68 commented Aug 29, 2023

Could I be assigned to this? I'd like to work on it

@UziTech
Copy link
Member

UziTech commented Sep 9, 2023

@dvptl68 are you still working on this?

@AnuMessi10
Copy link

Hello, can I have a look at this?

@UziTech
Copy link
Member

UziTech commented Oct 1, 2023

@AnuMessi10 sure go ahead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue
Projects
None yet
Development

No branches or pull requests

5 participants