IMarkdownMediaHost Interface
A site whose links MarkdownExtensions.MediaLinks renders as an <iframe>.
public interface IMarkdownMediaHostProperties
| Name | Description |
|---|---|
| AllowFullScreen | Gets a value indicating whether the <iframe> has the allowfullscreen attribute. |
| Class | Gets the class of the <iframe>, or null for none. |
| KnownHosts | Gets the hosts of Markdig: YouTube (and its shorts), youtu.be, Vimeo, Yandex Music and Odnoklassniki. |
AllowFullScreen
Class
KnownHosts
IMarkdownMediaHost.csGets the hosts of Markdig: YouTube (and its shorts), youtu.be, Vimeo, Yandex Music and Odnoklassniki.
public static ImmutableArray<IMarkdownMediaHost> KnownHosts { get; }Property value
Methods
| Name | Description |
|---|---|
| TryHandle(Uri, bool, string?) | Gets the URL of the <iframe> of a link, when the link is for this site. |
TryHandle(Uri, bool, string?)
Gets the URL of the <iframe> of a link, when the link is for this site.