gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.

MIT License

Downloads
1.1K
Stars
161
Committers
15

Bot releases are hidden (Show)

gatsby-remark-oembed - Bug fixes

Published by raae about 5 years ago

  • @victornguyen fixed problem with embed scripts only being initialized onRouteUpdate by also initializing onInitialClientRender.
  • @testower fixed problem with prefetched provider list being ignored by npm.
gatsby-remark-oembed - New usePrefix settings option

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:

  • @raae fixed a logging bug #73
  • @testower made sure we have a copy of the oembed provider list in case oembed.com goes down #64
  • @raae, @rayriffy, @muescha, and @yurm04 squashed some maintenance tasks
gatsby-remark-oembed - Cleaner logging

Published by raae over 5 years ago

This is mostly a maintenance release.

  • @raae has cleaned up the log.
  • @rayriffy and @raae has cleaned up the code structure.
  • @rayriffy and @raae has added Travis.
  • @raae has added test coverage reports and linting.

Thanks again to @rayriffy for helping out 🎉

gatsby-remark-oembed - Optional prefix option

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/`
gatsby-remark-oembed - Optional provider settings

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:

  • turning off captions in Instagram
  • going dark mode with Twitter.

Thank you @kennethormandy for this very useful extension!

gatsby-remark-oembed - Readme update

Published by raae over 5 years ago

@nickytonline fixed a typo in the example code
@raae added a ko-fi button

gatsby-remark-oembed - First release to npm

Published by raae almost 6 years ago

The package will be available as @raae/gatsby-remark-oembedon npm.

gatsby-remark-oembed - Second alpha release

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.

gatsby-remark-oembed - First alpha release

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.

Package Rankings
Top 3.0% on Npmjs.org
Related Projects