Is there an oEmbed plugin? #1329
Unanswered
boris-glumpler
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think there is no one working on this. Do you want to create a community plugin? I'm willing to use that in the website playground. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking for a plugin that embeds content, like YouTube videos or tweets, when a URL is added on its own line and surrounded by empty lines, but couldn't find anything, unfortunately.
There are several remark plugins, like this one here for example: https://github.com/remark-embedder/transformer-oembed
I reckon I could do this fairly easily with some custom directives for select services, like
::youtube {#01ab2cd3efg}
, as there's already a good iframe example on https://milkdown.dev, but it seems to me that a general oEmbed plugin could be more useful. I'm not much of a JS/TS dev, tho, so I'd appreciate any pointers. Cheers!Beta Was this translation helpful? Give feedback.
All reactions