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

Adding SvelteKit Embed #149

Open
swyxio opened this issue Dec 14, 2022 · 2 comments
Open

Adding SvelteKit Embed #149

swyxio opened this issue Dec 14, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@swyxio
Copy link
Owner

swyxio commented Dec 14, 2022

In #40 I added Twitter and Youtube embeds, but obviously there are lots more things to add.

@spences10 has been working on Sveltekit embed: https://www.npmjs.com/package/sveltekit-embed?activeTab=readme

However this does the normal MDSvex thing of directly importing components, which is not really ergonomic for a Github Issues CMS (#10) driven thing like I do on this blog. So I'm testing this:

{% embed hi %}

@swyxio swyxio changed the title add sveltekit embed Adding SvelteKit Embed Jan 14, 2023
@swyxio
Copy link
Owner Author

swyxio commented Jan 14, 2023

Temporarily abandoning it because i couldnt figure out how to get it to work with mdsvex.compile

image

generates a <script> tag, which i cant use @html to just throw into a page like regular mdsvex output.

image

@acidtone
Copy link

acidtone commented Sep 6, 2023

@swyxio Did you ever figure this out? Do you think this problem is related to mine here:
spences10/sveltekit-embed#511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants