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

Marked(string) Always retorning [object object] #3389

Closed
gabrielpereiraa opened this issue Aug 2, 2024 · 6 comments
Closed

Marked(string) Always retorning [object object] #3389

gabrielpereiraa opened this issue Aug 2, 2024 · 6 comments

Comments

@gabrielpereiraa
Copy link

gabrielpereiraa commented Aug 2, 2024

Marked version: 13.0.2

Describe the bug
Marked(string) Always retorning [object object]

had to downgrade to version 12.0.0 to make it work

@simonMoisselin
Copy link

Same for listitem

@UziTech
Copy link
Member

UziTech commented Aug 3, 2024

If you give us code to reproduce the error we can try to help.

@HearseDev
Copy link

HearseDev commented Aug 3, 2024

rolling back to 12.0.0 fixes this
also: "marked-gfm-heading-id": "^3.0.6",

Looks like its list items

const md = marked.parse(markdown) as string
console.log(md) // [object object]

Image below, all three are supposed to be list items
image

@UziTech
Copy link
Member

UziTech commented Aug 3, 2024

It works for me with the latest version of marked-gfm-heading-id

@rsivan
Copy link

rsivan commented Aug 13, 2024

This should be considered critical, as all of angular.dev is showing unprocessed links.
See for example https://angular.dev/essentials/components#defining-a-component

@UziTech
Copy link
Member

UziTech commented Aug 14, 2024

@rsivan Looks like that is fixed in angular/angular#57377

@UziTech UziTech closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants