[PR #186] [MERGED] Add Normalization Support for AutoLinks #850

Open
opened 2026-01-29 14:46:22 +00:00 by claunia · 0 comments
Owner

📋 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: masterHead: normalize-autolinks


📝 Commits (2)

  • 75adfa3 Add Normalization Tests for AutoLinks
  • 595dacf Add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/186 **Author:** [@tthiery](https://github.com/tthiery) **Created:** 12/17/2017 **Status:** ✅ Merged **Merged:** 1/3/2018 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `normalize-autolinks` --- ### 📝 Commits (2) - [`75adfa3`](https://github.com/xoofx/markdig/commit/75adfa3fe8a9cb210530394a27e1d475b9598c9e) Add Normalization Tests for AutoLinks - [`595dacf`](https://github.com/xoofx/markdig/commit/595dacf213253ac4e5f0b99beca7badebe3a7cf5) Add Normalization Support for AutoLinks (including Options) ### 📊 Changes **6 files changed** (+63 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:46:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#850