mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-14 05:45:05 +00:00
[PR #723] [MERGED] Add relative path support for Audio and Video Urls to MediaLinks Extension #1195
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?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/723
Author: @RickStrahl
Created: 7/11/2023
Status: ✅ Merged
Merged: 8/4/2023
Merged by: @xoofx
Base:
master← Head:MediaExtensions-RelativePathSupport📝 Commits (3)
bfe3800Allow for use of .NET 7.0 SDK (Major Version Roll Forward)81bc58cAdd support for relative Urls for Video and Audio links.3d29430Update src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs📊 Changes
3 files changed (+34 additions, -16 deletions)
View changed files
📝
src/Markdig.Tests/TestMediaLinks.cs(+10 -0)📝
src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs(+23 -15)📝
src/global.json(+1 -1)📄 Description
Allow detect and embed relative URLs for image tag usage of audio and video links. Relates to #715.
Updated linking looks like this:
Note relative links now work picking up media files out of the current folder as well as online links.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.