[PR #644] [MERGED] added support for ToPlainText for pipetables extension #1163

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/644
Author: @PaulVrugt
Created: 6/8/2022
Status: Merged
Merged: 6/15/2022
Merged by: @xoofx

Base: masterHead: master


📝 Commits (1)

  • 76073e8 added support for ToPlainText for pipetables extension

📊 Changes

2 files changed (+121 additions, -88 deletions)

View changed files

📝 src/Markdig.Tests/TestPlainText.cs (+3 -2)
📝 src/Markdig/Extensions/Tables/HtmlTableRenderer.cs (+118 -86)

📄 Description

This PR adds support for ToPlainText for the pipetables extension. Before this, it would simply return all the table html elements, and render plaintext within the table. With this PR, all the table elements are removed from the plaintext output as you would expect as a result of ToPlainText


🔄 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/644 **Author:** [@PaulVrugt](https://github.com/PaulVrugt) **Created:** 6/8/2022 **Status:** ✅ Merged **Merged:** 6/15/2022 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`76073e8`](https://github.com/xoofx/markdig/commit/76073e81c04582196e80679bc0f826ceacbf80c8) added support for ToPlainText for pipetables extension ### 📊 Changes **2 files changed** (+121 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestPlainText.cs` (+3 -2) 📝 `src/Markdig/Extensions/Tables/HtmlTableRenderer.cs` (+118 -86) </details> ### 📄 Description This PR adds support for `ToPlainText` for the pipetables extension. Before this, it would simply return all the table html elements, and render plaintext within the table. With this PR, all the table elements are removed from the plaintext output as you would expect as a result of `ToPlainText` --- <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:50:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1163