#Astro Markdown in JSX
40 messages · Page 1 of 1 (latest)
Welcome @azure jolt, nice to have you here!
Why do you particularly want to render your markdown in JSX? You could do that in an Astro component
ye, i know it
but i need use jsx component to render pagelist paging
such as pagelist loading animation & loadingmore script
in astro script to done it so cumbersome
sry , it's too late. I think I have a plan to implement it through the slot, and I'm go sleep. Have a wonderful day.
Yeah using slot is a viable way to that, let me know if you have issues implementing that
Yes
Can you help me look at a question
this my project
when i import Icon "Play"
run "yarn build"
will be throw error
but in "yarn dev" mode ,no errors occurred
when i drop import Icon, there won't be any error info
so funny

use --verbose, no more info
but in .astro import Icon no throw error.
ok fine
I was away for a moment
This error was reported a few times. What's logged is quite misleading though as this doesn't seem to affect your build (at least what I found in all the reports)
Using the icon should just work fine 🙂
Unless you're actually bumping up on something else not on frame?
ok thx bro
this errormsg will be fixed?
Probably, it's been reported a few times so I'm sure our maintainers are aware of it
quick nitpick! you have quotes around {props.avatar} for the img src (both of them)