mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Media extensions — add support for Yandex.Music & VK #175
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 @leotsarev on GitHub (Dec 28, 2017).
Hi, I'm seeking to add embedding audio from VKontakte & Yandex.Music (pretty popular in Russia) and video from VKontakte.
I'm going to implement it myself, just checking with you if PRs are welcome.
@xoofx commented on GitHub (Dec 30, 2017):
Yes. this should be part of the existing MediaLinks extension. Currently, the code is hardcoded, but if we could setup things through options instead, that would be fine (e.g a list of regex or similar), not sure if it is generalize-able, but you can check with your usecase and we will see what to do from there:
0bb8139450/src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs (L63-L84)