Avalonia.Controls.Markdown.TextMate
v13.0.0-rc2Latest Pre-release
net10.0net8.0
Optional TextMate-based syntax highlighting integration for Avalonia.Controls.Markdown
Published
Sep 10, 2026
1mo ago
Total Downloads
65.6K
65,569
Install
dotnet add package Avalonia.Controls.Markdown.TextMate --version 13.0.0-rc2
| Product | Versions |
|---|---|
| .NET |
README
Avalonia.Controls.Markdown.TextMate
Optional TextMate-based syntax highlighting integration for Avalonia.Controls.Markdown. Provides a TextMateHighlighter that enables syntax highlighting in Markdown code blocks using TextMate grammars.
Quick Start
<Window.Resources>
<textMate:TextMateHighlighter x:Key="codeHighlighter" Theme="LightPlus" />
</Window.Resources>
<Markdown Text="```csharp
var x = 1;
```"
CodeHighlighter="{StaticResource codeHighlighter}" />
Or in C#:
var highlighter = new TextMateHighlighter { Theme = "LightPlus" };
myMarkdownControl.CodeHighlighter = highlighter;
Dependencies
Avalonia.Controls.Markdown
Documentation
See the documentation for more details.
Changes from Previous Version
No structural changes between v12.3.1 and v13.0.0-rc2.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.