mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
support oEmbed media embedding #209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @damageboy on GitHub (May 25, 2018).
markdig currently supports a very specific list of media embedding as described in:
https://github.com/lunet-io/markdig/blob/master/src/Markdig.Tests/Specs/MediaSpecs.md
I was wondering if there was ever serious consideration of implementing an oEmbed client inside markdig and support embedding of foreign content in a more generalized way...
There seems to be a very full functional client called embedo which does all the magic, in theroy of embedding various 3rd part contents inside existing html.
Would using embedo (as in generating embedo code on the generated html) be something markdig devs would accept as a PR?
If not, would implementing oEmbed calls be something that markdig devs would be willing to incorporate?
From what I see there a various embedding "specs" to consider:
http://oembed.com/
http://ogp.me/
https://dev.twitter.com/cards/overview