TXTextControl.Markdown.Core 34.1.0-beta: Work with Full Documents, Selection, and SubTextParts
In this article, we will explore the new features and improvements in TXTextControl.Markdown.Core 34.1.0-beta, including working with full documents, selection, and SubTextParts. We will also provide code examples and best practices for using these features effectively.

Markdown has become a standard format in modern applications. From developer tools to AI pipelines, Markdown is widely used because it is:
- Easy to read and write: Markdown's simple syntax allows users to create formatted text without needing to learn complex markup languages.
- Widely supported: Many platforms and tools support Markdown, making it a versatile choice for content creation and sharing.
- Flexible: Markdown can be extended with plugins and custom syntax, allowing developers to tailor it to their specific needs.
Learn more
We are happy to announce the release of TXTextControl.Markdown.Core, a powerful new component that enables seamless import and export of Markdown files in TX Text Control. This addition enhances the versatility of TX Text Control, allowing developers to easily work with Markdown content in their applications.
Introducing TXTextControl.Markdown.Core: Import and Export Markdown in TX Text Control
At the same time, business applications continue to rely on rich document formats such as DOCX and PDF. TXTextControl.Markdown.Core is the perfect solution for this. It enables you to work with Markdown documents while retaining the option of converting them to and from rich document formats. The latest 34.1.0-beta release introduces new features that make working with full documents, selections and SubTextParts even easier.
Bringing Markdown and Rich Documents Together
TXTextControl.Markdown.Core enables seamless conversion between Markdown and rich document formats. This means that you can create content in Markdown and then convert it to DOCX or PDF for sharing purposes, or take existing DOCX files and convert them to Markdown for editing purposes. The new features in version 34.1.0-beta enhance this experience by giving you more control over the conversion process and enabling you to work with specific parts of a document.
It works across:
- ASP.NET Core: Build modern web applications with server-side rendering and rich document capabilities.
- Windows Forms: Create desktop applications that can handle Markdown and rich document formats seamlessly.
- WPF: Develop powerful desktop applications with advanced document processing features.
More importantly, however, it enables you to combine the simplicity of Markdown with the precision and layout capabilities of TXTextControl.Markdown.Core. This means that you can create content in Markdown and then use TXTextControl.Markdown.Core's powerful formatting and layout features to enhance it before sharing or converting it to other formats.
Typical Use Cases
In real-world applications, Markdown is frequently employed as an intermediate format. For instance, you may have a content management system (CMS) that enables users to generate content in Markdown. The CMS can then convert this content to DOCX for internal use or to PDF for sharing with external stakeholders. TXTextControl.Markdown.Core makes it easy to implement this workflow, ensuring your users have a seamless experience when working with different document formats.
- AI-powered document workflows: Use Markdown as an intermediate format for AI-generated content, allowing for easy editing and formatting before converting to rich document formats.
- Content management systems: Enable users to create content in Markdown and then convert it to DOCX or PDF for sharing and collaboration.
- Template-based document generation: Use Markdown templates to generate rich documents with dynamic content, leveraging TXTextControl.Markdown.Core's formatting capabilities.
What's New in 34.1.0-beta?
The 34.1.0-beta release of TXTextControl.Markdown.Core introduces several new features that enhance the way you can work with Markdown documents:
- Selection-based processing: You can now process only the selected portion of a document, allowing for more targeted conversions and edits.
- SubTextPart support: This feature enables you to work with specific SubTextParts of a document, giving you more control over the content you want to convert or edit.
Full Document Markdown Processing
You can load and save Markdown for the entire document using a very simple API:
// Server (ASP.NET Core / services)
using TXTextControl;
using TXTextControl.Markdown;
using var tx = new ServerTextControl();
tx.Create();
tx.LoadMarkdown("# Hello from Markdown");
string md = tx.SaveMarkdown();
// or:
tx.SaveMarkdown(out var mdOut);
This is the foundation for Markdown-based document workflows-perfect for generating or exporting complete documents.
Selection-Based Markdown Processing
With the new selection-based processing feature, you can now convert only the selected portion of a document to Markdown or from Markdown. This is particularly useful when you want to edit or convert specific sections without affecting the entire document.
using TXTextControl;
using TXTextControl.Markdown;
using var tx = new ServerTextControl();
tx.Create();
tx.LoadMarkdown("# Title\n\nOld text");
tx.Select(9, 8); // selects "Old text"
tx.Selection.LoadMarkdown("**New text**");
string selectedMarkdown = tx.Selection.SaveMarkdown();
This enables:
- Replacing specific content ranges
- Extracting only relevant sections
- Building interactive editing workflows
SubTextPart Support
The release also introduces Markdown support for SubTextParts:
Sub
- Manage modular document sections
- Build reusable templates
- Process structured content independently
Additional Improvements and Fixes
In addition to the major new features, the 34.1.0-beta release includes various improvements and bug fixes that enhance the overall stability and performance of the library. These include:
- Better handling of nested formatting
- Correct strikethrough export (~~text~~)
- Improved code block handling
- More consistent whitespace preservation
- Smarter escaping
Getting Started
To get started with TXTextControl.Markdown.Core 34.1.0-beta, you can download the latest version via NuGet. The README.md has been updated to include examples and best practices for using the new features, so be sure to check it out for guidance on how to integrate Markdown processing into your applications.
With these new capabilities, TXTextControl.Markdown.Core continues to be a powerful tool for developers looking to leverage the benefits of Markdown while maintaining the rich formatting options provided by TX Text Control. Whether you're building a CMS, an AI-powered document workflow, or any application that requires flexible document processing, TXTextControl.Markdown.Core has you covered.
ASP.NET
Integrate document processing into your applications to create documents such as PDFs and MS Word documents, including client-side document editing, viewing, and electronic signatures.
- Angular
- Blazor
- React
- JavaScript
- ASP.NET MVC, ASP.NET Core, and WebForms
Related Posts
TX Text Control 34.0 SP2 is Now Available: What's New in the Latest Version
TX Text Control 34.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
TX Text Control 34.0 SP1 is Now Available: What's New in the Latest Version
TX Text Control 34.0 Service Pack 1 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
Introducing TX Text Control 34.0: Your Next Leap in Document Processing
We are happy to announce the release of TX Text Control 34.0. This version is packed with new features and enhancements that will elevate your document processing experience. This version…
Sneak Peek: TX Text Control 34.0 Coming November 2025
We are excited to announce the upcoming release of TX Text Control 34.0, scheduled for November 2025. This update brings a host of new features and improvements to enhance your document processing…
TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version
TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
