📚 Subject area/topic
TSX Endpoint support
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/reference/experimental-flags/fonts/
https://docs.astro.build/en/guides/endpoints/
📋 Description of content that is out-of-date or incorrect
|
```tsx title="src/pages/og.png.tsx" {2} "fontData[\"--font-roboto\"]" |
shows an example of using the fonts API with a .tsx endpoint to produce an OpenGraph image is Satori. This is a great use case, but according to
withastro/astro#9588 it's not supported (and won't be) despite the comments on that issue pointing to this exact use case. Which is right?
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
📚 Subject area/topic
TSX Endpoint support
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/reference/experimental-flags/fonts/
https://docs.astro.build/en/guides/endpoints/
📋 Description of content that is out-of-date or incorrect
docs/src/content/docs/en/reference/experimental-flags/fonts.mdx
Line 616 in d28121a
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response