A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
MIT License
Bot releases are visible (Hide)
Published by raae-bot over 2 years ago
Published by raae-bot over 2 years ago
Published by raae over 5 years ago
onRouteUpdate
by also initializing onInitialClientRender
.Published by raae over 5 years ago
Thanks to @rayriffy you can configure an array of prefix options #47.
usePrefix: ["embed", "video", "oembed"]
// In your markdown file
Check it out! I can use the prefix "oembed:"
`oembed: https://twitter.com/raae/status/1045394833001652225`
Or I can use the prefix "embed:" if I like ;)
`embed: https://www.instagram.com/p/Bof9WhgBmY2/`
I can also use "video:" like I did before with `gatsby-remark-video`.
`video: https://vimeo.com/42672205`
In addition:
Published by raae over 5 years ago
This is mostly a maintenance release.
Thanks again to @rayriffy for helping out 🎉
Published by raae over 5 years ago
Thanks to @rayriffy you can now use inline code with a prefix:
// In your markdown file
Check it out! I can use oembed links in my markdown.
`oembed: https://twitter.com/raae/status/1045394833001652225`
It's pretty cool :D
`oembed: https://www.instagram.com/p/Bof9WhgBmY2/`
Published by raae over 5 years ago
@kennethormandy added support for provider-specific options
@raae fixed a tiny typo
Read more about provider-specific options in the README, but some examples are:
Thank you @kennethormandy for this very useful extension!
Published by raae almost 6 years ago
@nickytonline fixed a typo in the example code
@raae added a ko-fi button
Published by raae almost 6 years ago
The package will be available as @raae/gatsby-remark-oembed
on npm.
Published by raae almost 6 years ago
There are no code changes, but a bug (gatsbyjs/gatsby/issues/8788) affecting the plugin gatsby core and gatsby-transformer-remark have been fixed and the requirement section of the readme updated.
Published by raae about 6 years ago
This is an early version of the plugin. Let me know if you have problems or questions by submitting an issue.