Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

mdx support #549

Closed
7flash opened this issue Sep 20, 2023 · 1 comment
Closed

mdx support #549

7flash opened this issue Sep 20, 2023 · 1 comment

Comments

@7flash
Copy link

7flash commented Sep 20, 2023

Feature Request

Is your feature request related to a problem? Please describe.

While Satori has impressive capabilities in translating HTML and CSS to SVG, there's an emerging need for richer content presentations like MDX, which combines Markdown and JSX.

Describe the solution you'd like

It would be powerful if Satori could directly support rendering MDX content.

Describe alternatives you've considered

While we can always pre-process MDX to plain HTML and then feed it to Satori, having native support would streamline the process, make it more efficient, and open up new possibilities for content presentation.

Additional context

https://github.com/mdx-js/mdx

@shuding
Copy link
Member

shuding commented Sep 20, 2023

I think for now, this is out of the scope of this project. The Satori core is mostly a CSS layout → SVG translator and we will be focusing on that. This is because that part is already a lot of work (too many CSS details and we have typography issues like RTL).

Like you said, you can use another project transforms MDX → HTML structured data with CSS styles and then use Satori.

I'll convert this to a discussion thread and open to hear more feedback! Thanks.

@vercel vercel locked and limited conversation to collaborators Sep 20, 2023
@shuding shuding converted this issue into discussion #551 Sep 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants