# 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.

- **Author:** Bjoern Meyer
- **Published:** 2026-04-14
- **Modified:** 2026-04-14
- **Description:** 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.
- **5 min read** (982 words)
- **Tags:**
  - ASP.NET
  - ASP.NET Core
  - Markdown
  - Windows Forms
  - WPF
- **Web URL:** https://www.textcontrol.com/blog/2026/04/14/txtextcontrol-markdown-core-34-1-0-beta-work-with-full-documents-selection-and-subtextparts/
- **LLMs URL:** https://www.textcontrol.com/blog/2026/04/14/txtextcontrol-markdown-core-34-1-0-beta-work-with-full-documents-selection-and-subtextparts/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2026/04/14/txtextcontrol-markdown-core-34-1-0-beta-work-with-full-documents-selection-and-subtextparts/llms-full.txt

---

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](https://www.textcontrol.com/blog/2025/09/16/introducing-txtextcontrol-markdown-core-import-and-export-markdown-in-tx-text-control/llms-full.txt)

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:

SubTextParts allow you to work with reusable document fragments, making it possible to:

- 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](https://www.nuget.org/packages/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.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [TX Text Control 34.0 SP2 is Now Available: What's New in the Latest Version](https://www.textcontrol.com/blog/2026/02/18/tx-text-control-34-0-sp2-is-now-available/llms.txt)
- [TX Text Control 34.0 SP1 is Now Available: What's New in the Latest Version](https://www.textcontrol.com/blog/2025/12/03/tx-text-control-34-0-sp1-is-now-available/llms.txt)
- [Introducing TX Text Control 34.0: Your Next Leap in Document Processing](https://www.textcontrol.com/blog/2025/11/10/introducing-tx-text-control-34-0-your-next-leap-in-document-processing/llms.txt)
- [Sneak Peek: TX Text Control 34.0 Coming November 2025](https://www.textcontrol.com/blog/2025/10/02/sneak-peek-tx-text-control-34-0-coming-november-2025/llms.txt)
- [TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version](https://www.textcontrol.com/blog/2025/08/14/tx-text-control-33-0-sp3-is-now-available/llms.txt)
- [TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version](https://www.textcontrol.com/blog/2025/06/18/tx-text-control-33-0-sp2-is-now-available/llms.txt)
- [Document Lifecycle Optimization: Leveraging TX Text Control's Internal Format](https://www.textcontrol.com/blog/2025/05/16/document-lifecycle-optimization-leveraging-tx-text-controls-internal-format/llms.txt)
- [Expert Implementation Services for Legacy System Modernization](https://www.textcontrol.com/blog/2025/05/07/expert-implementation-services-for-legacy-system-modernization/llms.txt)
- [Service Pack Releases: What's New in TX Text Control 33.0 SP1 and 32.0 SP5](https://www.textcontrol.com/blog/2025/05/07/service-pack-releases-whats-new-in-tx-text-control-33-0-sp1-and-32-0-sp5/llms.txt)
- [Top 5 Real-World Applications for TX Text Control Document Processing Libraries](https://www.textcontrol.com/blog/2025/04/01/top-5-real-world-applications-for-tx-text-control-document-processing-libraries/llms.txt)
- [DWX Developer Week Moves to Mannheim - And Text Control Is on Board!](https://www.textcontrol.com/blog/2025/03/19/dwx-developer-week-moves-to-mannheim-and-tx-text-control-is-on-board/llms.txt)
- [The Wait is Over: TX Text Control for Linux is Officially Here](https://www.textcontrol.com/blog/2025/03/12/the-wait-is-over-tx-text-control-for-linux-is-officially-here/llms.txt)
- [Full .NET 9 Support in Text Control .NET Components for ASP.NET Core, Windows Forms, and WPF](https://www.textcontrol.com/blog/2024/11/11/full-net-9-support-in-text-control-net-components-for-asp-net-core-windows-forms-and-wpf/llms.txt)
- [Toggle Field Codes in TX Text Control](https://www.textcontrol.com/blog/2024/11/07/toggle-field-codes-in-tx-text-control/llms.txt)
- [Inserting MergeBlocks with the DataSourceManager and Applying Table Styles in C#](https://www.textcontrol.com/blog/2024/04/09/inserting-mergeblocks-with-the-datasourcemanager-and-applying-table-styles-in-csharp/llms.txt)
- [Sneak Peek 32.0: Modifying the Normal Stylesheet](https://www.textcontrol.com/blog/2023/07/04/sneak-peek-320-modifying-the-normal-stylesheet/llms.txt)
- [Converting Markdown to DOCX and PDF in C#](https://www.textcontrol.com/blog/2022/11/15/converting-markdown-to-docx-and-pdf-in-csharp/llms.txt)
- [Merging Form Fields using the MailMerge Class](https://www.textcontrol.com/blog/2022/02/21/merging-form-fields-using-the-mailmerge-class/llms.txt)
- [MailMerge: Rendering Conditional Table Rows](https://www.textcontrol.com/blog/2022/02/17/mailmerge-rendering-conditional-table-rows/llms.txt)
- [Version 30.0: Changes in Licenses.licx](https://www.textcontrol.com/blog/2021/12/02/version-30-changes-in-licenses-licx/llms.txt)
- [TX Spell .NET 11.0 SP1 is Now Available: What's New in the Latest Version](https://www.textcontrol.com/blog/2026/04/08/tx-spell-net-11-0-sp1-is-now-available/llms.txt)
- [Text Control Private NuGet Feed](https://www.textcontrol.com/blog/2026/02/09/text-control-private-nuget-feed/llms.txt)
- [A Complete Guide to Converting Markdown to PDF in .NET C#](https://www.textcontrol.com/blog/2026/01/07/a-complete-guide-to-converting-markdown-to-pdf-in-dotnet-csharp/llms.txt)
- [How to Extend the Default Style Mapping when Converting DOCX to Markdown in .NET C#](https://www.textcontrol.com/blog/2025/12/22/how-to-extend-the-default-style-mapping-when-converting-docx-to-markdown-in-dotnet-csharp/llms.txt)
- [Bringing MailMerge Power to Markdown: Fluid Placeholders in TX Text Control in C#](https://www.textcontrol.com/blog/2025/10/17/bringing-mailmerge-power-to-markdown-fluid-placeholders-in-tx-text-control-in-csharp/llms.txt)
