mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #186] [MERGED] Add Normalization Support for AutoLinks #850
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/186
Author: @tthiery
Created: 12/17/2017
Status: ✅ Merged
Merged: 1/3/2018
Merged by: @xoofx
Base:
master← Head:normalize-autolinks📝 Commits (2)
75adfa3Add Normalization Tests for AutoLinks595dacfAdd Normalization Support for AutoLinks (including Options)📊 Changes
6 files changed (+63 additions, -2 deletions)
View changed files
📝
src/Markdig.Tests/TestNormalize.cs(+14 -0)📝
src/Markdig/Extensions/AutoLinks/AutoLinkExtension.cs(+8 -2)📝
src/Markdig/Extensions/AutoLinks/AutoLinkParser.cs(+1 -0)➕
src/Markdig/Extensions/AutoLinks/NormalizeAutoLinkRenderer.cs(+29 -0)📝
src/Markdig/Renderers/Normalize/NormalizeOptions.cs(+6 -0)📝
src/Markdig/Syntax/Inlines/LinkInline.cs(+5 -0)📄 Description
Part of #155
Question here: Are we normalizing auto links to the InlineLink representation OR back to their original form.
If we want to go back to the original form, we need to extend the syntax (IMHO)
I am for normalizing to InlineLinks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.