Skip to content
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

Custom images for open graph etc #326

Open
Rich-Harris opened this issue Jun 28, 2018 · 3 comments
Open

Custom images for open graph etc #326

Rich-Harris opened this issue Jun 28, 2018 · 3 comments

Comments

@Rich-Harris
Copy link
Member

maybe a bit pie-in-the-sky but it'd be nice to replace this sort of thing...

screen shot 2018-06-28 at 8 50 13 am

...with this sort of thing...

preview

...or this sort of thing:

code

@Ryuno-Ki
Copy link

For this, you would need to have set the value for <meta content="https://svelte.technology/images/twitter-card.png" name="twitter:image"> dynamically.

Maybe you can ask how CodePen.io do it on their end ;-)

@ekhaled
Copy link

ekhaled commented Aug 11, 2018

@Rich-Harris do you have any ideas on how to proceed with this?

I was thinking maybe running a carbon service, similar to how we have bundle.run currently.
And then pointing the open graph meta tag to the service

Example repl gets rendered like this

@mindrones
Copy link
Member

mindrones commented Dec 6, 2018

Ops, I haven't seen this before posting, I have outlined some tentative code in #388.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants