queen-raae / gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
https://gatsby-remark-oembed.netlify.com/
MIT License
162 stars 25 forks source link

feat: transform parent node for standalone link nodes #170

Closed raae closed 2 years ago

raae commented 2 years ago

Instead of transforming the link node directly for standalone links (usePrefix: false) it now transforms the parent node, ie. the paragraph node. Solves #102

Should this also be the case for inline nodes (usePrefix: true) and in that case should inline nodes also be required to be the only child of a paragraph node that has root as its parent? #160 and #162

netlify[bot] commented 2 years ago

Deploy Preview for gatsby-remark-oembed ready!

Name Link
Latest commit 71b031b9a3d7ef5f4942a6a3eb63a54e4e4caaa8
Latest deploy log https://app.netlify.com/sites/gatsby-remark-oembed/deploys/626ae752a803ee0009bfbc17
Deploy Preview https://deploy-preview-170--gatsby-remark-oembed.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 2 years ago

Deploy Preview for gatsby-remark-oembed-mdx ready!

Name Link
Latest commit 71b031b9a3d7ef5f4942a6a3eb63a54e4e4caaa8
Latest deploy log https://app.netlify.com/sites/gatsby-remark-oembed-mdx/deploys/626ae75285eb1200095b2198
Deploy Preview https://deploy-preview-170--gatsby-remark-oembed-mdx.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

raae-bot commented 2 years ago

:tada: This PR is included in version 0.3.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: