delucis / astro-embed

Low-JavaScript embed components for Astro websites
https://astro-embed.netlify.app
MIT License
166 stars 24 forks source link

Draft: Embed GitHub gist #84

Open vasfvitor opened 6 months ago

vasfvitor commented 6 months ago

This aims to solve #33

I had it laying here for a while but didn't get to finish. I'll do some touch ups and update the description with images

No styles as of now. Github endpoint provides a stylesheet url but I haven't got around how to use it without writing a webcomponent, neither writing a webcomponent lol, yet. I think this needs default styling to make it easier to just use without having to write CSSfor each possible syntax.

TODO:

Thank you Styled:

Unstyled:

changeset-bot[bot] commented 6 months ago

⚠️ No Changeset found

Latest commit: 61318b7e7ac13f30deaeb67b186b62e41cbad7aa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR