[PR #921] Add CJK-friendly Emphasis Extension #1311

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/921
Author: @tats-u
Created: 1/21/2026
Status: 🔄 Open

Base: masterHead: cjk-friendly


📝 Commits (10+)

  • 48394a1 Add CJK-friendly Emphasis Extension
  • 0357650 Add auto-generated test file
  • 5aad3d9 Add name for configuration
  • 79f3d69 Remove useless default value assignments
  • 0ba3eaf Make CheckOpenCloseDelimiterCjkFriendly internal only
  • 9fc6972 Remove CjkFriendlyEmphasisExtension class
  • b254c68 Add some comments including links
  • cf57652 Add direct tests on CharHelper.CheckOpenCloseDelimiterCjkFriendly
  • fdefca0 Fix generated tests
  • 5b75192 Add #if NET

📊 Changes

9 files changed (+457 additions, -3 deletions)

View changed files

📝 readme.md (+1 -0)
src/Markdig.Tests/Specs/CJKFriendlyEmphasis.generated.cs (+67 -0)
src/Markdig.Tests/Specs/CJKFriendlyEmphasis.md (+37 -0)
📝 src/Markdig.Tests/Specs/readme.md (+1 -0)
src/Markdig.Tests/TestCjkFriendlyEmphasis.cs (+204 -0)
📝 src/Markdig/Helpers/CharHelper.cs (+111 -0)
📝 src/Markdig/MarkdownExtensions.cs (+10 -1)
📝 src/Markdig/Parsers/Inlines/EmphasisInlineParser.cs (+24 -1)
📝 src/SpecFileGen/Program.cs (+2 -1)

📄 Description

Closes #890


🔄 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/921 **Author:** [@tats-u](https://github.com/tats-u) **Created:** 1/21/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `cjk-friendly` --- ### 📝 Commits (10+) - [`48394a1`](https://github.com/xoofx/markdig/commit/48394a1dab86824f6a4bcb2f70cadadb531ef24a) Add CJK-friendly Emphasis Extension - [`0357650`](https://github.com/xoofx/markdig/commit/03576503665c7a75bccc25e00888ec894702b5c5) Add auto-generated test file - [`5aad3d9`](https://github.com/xoofx/markdig/commit/5aad3d92f1aa65b510da8dacc71424638f2180f6) Add name for configuration - [`79f3d69`](https://github.com/xoofx/markdig/commit/79f3d690e189f261b92982fae990347dab20772c) Remove useless default value assignments - [`0ba3eaf`](https://github.com/xoofx/markdig/commit/0ba3eaf5a770c33de37de0094d7a4e1de636f45b) Make `CheckOpenCloseDelimiterCjkFriendly` internal only - [`9fc6972`](https://github.com/xoofx/markdig/commit/9fc6972dc8dba88bbb4ba37891ddf77ea0ea8d6f) Remove `CjkFriendlyEmphasisExtension` class - [`b254c68`](https://github.com/xoofx/markdig/commit/b254c6811de9758bf045caecf0dd34e7dc9f7ec1) Add some comments including links - [`cf57652`](https://github.com/xoofx/markdig/commit/cf576528931bbc373d11e55e9bf945a076e1a1be) Add direct tests on `CharHelper.CheckOpenCloseDelimiterCjkFriendly` - [`fdefca0`](https://github.com/xoofx/markdig/commit/fdefca04d6ab89d9c75ba2b5e4e7371c36b37427) Fix generated tests - [`5b75192`](https://github.com/xoofx/markdig/commit/5b7519254a0bcb1e84494de1c4de6275d0af6c57) Add `#if NET` ### 📊 Changes **9 files changed** (+457 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `readme.md` (+1 -0) ➕ `src/Markdig.Tests/Specs/CJKFriendlyEmphasis.generated.cs` (+67 -0) ➕ `src/Markdig.Tests/Specs/CJKFriendlyEmphasis.md` (+37 -0) 📝 `src/Markdig.Tests/Specs/readme.md` (+1 -0) ➕ `src/Markdig.Tests/TestCjkFriendlyEmphasis.cs` (+204 -0) 📝 `src/Markdig/Helpers/CharHelper.cs` (+111 -0) 📝 `src/Markdig/MarkdownExtensions.cs` (+10 -1) 📝 `src/Markdig/Parsers/Inlines/EmphasisInlineParser.cs` (+24 -1) 📝 `src/SpecFileGen/Program.cs` (+2 -1) </details> ### 📄 Description Closes #890 --- <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:52:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1311