astro-community / md

Render any Markdown content in Astro, optionally integrating with any existing configuration.

Home Page:https://stackblitz.com/github/astro-community/md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown component doesn't work anymore

mashehu opened this issue · comments

Throws the error (Cannot read properties of undefined (reading 'href')).

As pointed out on Discord the following still works

{async() => await markdown('# Hello World')}

Hi @mashehu, would you mind asking the Astro maintainers if I can access that link?

I’ll look into this today. Thank you for the report.

You should be able to access the discord with this link: https://astro.build/chat

Hi, @mashehu. Thank you again for the report.

I tried the links you shared. They are not working for me.

I suspect that I’m banned for some critical tweets that I wrote about their initial removal of Markdown support in Astro (I believe it was before v1, and before this integration). I have since apologized to them for those harsh tweets.

Would you mind asking them if I may be allowed back in 🙏?
I wonder if me being out of sight makes it easy to not expire their punishment.

Sorry, I am not involved enough in the Astro community to know who to approach. The discord thread I linked to basically just reports the error I mention at the beginning and then someone posting the workaround with:

Its looks like the component passes in a default option that breaks the rendering, so you have to use the other functions for now

All right. Thank you, and I hope you don’t mind my asking.

Is the new version working for you?

Yep, like a charm. Thanks a lot!