gfscott / eleventy-plugin-embed-everything

An Eleventy plugin to easily embed common media formats in posts, using only their URLs
https://gfscott.com/embed-everything/
MIT License
99 stars 6 forks source link

Support x.com domain for Twitter #195

Closed gfscott closed 1 year ago

gfscott commented 1 year ago

Close #194

This PR adds support for recognizing x.com URLs in the Twitter plugin. It's backward-compatible, so all twitter.com URLs will still work.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 0381802a21ce756301975abf726a4d88dd8875c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------------------- | ----- | | eleventy-plugin-embed-twitter | Minor | | eleventy-plugin-embed-everything | Patch |

Not sure what this means? Click here to learn what changesets are.

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

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (1d87ae2) 100.00% compared to head (0381802) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #195 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 6 6 Lines 96 96 ========================================= Hits 96 96 ``` | [Files Changed](https://app.codecov.io/gh/gfscott/eleventy-plugin-embed-everything/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Graham+F.+Scott) | Coverage Δ | | |---|---|---| | [packages/twitter/lib/extractMatch.js](https://app.codecov.io/gh/gfscott/eleventy-plugin-embed-everything/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Graham+F.+Scott#diff-cGFja2FnZXMvdHdpdHRlci9saWIvZXh0cmFjdE1hdGNoLmpz) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.