Media extensions — add support for Yandex.Music & VK #175

Closed
opened 2026-01-29 14:29:28 +00:00 by claunia · 1 comment
Owner

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.

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.
claunia added the enhancementPR Welcome! labels 2026-01-29 14:29:28 +00:00
Author
Owner

@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)

@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: https://github.com/lunet-io/markdig/blob/0bb8139450794ee55491011c7110575fbc683efb/src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs#L63-L84
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#175