Tags:
tag1, tag2, hello, world

Hello World

Hello World

This is some random content for the blog.

This is normal text

and this is bold

this is italic

this one is inline code

thid id underlined text

this is a strikethrough text

Since you are using React with Astro, the PortableText component is actually looking for React components, not raw HTML strings. Even if you define a function inside the .astro file using JSX (like your image function), Astro sometimes struggles to pass that "anonymous" component to the library without a defined renderer.

To fix the NoMatchingRenderer error once and for all, we need to treat both the Image and YouTube as proper React components.