Avalonia.Controls.Markdown.TextMate
v12.3.1Latest Stable
net10.0net8.0
Optional TextMate-based syntax highlighting integration for Avalonia.Controls.Markdown
Published
Oct 8, 2026
11d ago
Total Downloads
65.6K
65,569
Install
dotnet add package Avalonia.Controls.Markdown.TextMate --version 12.3.1
| 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.0 and v12.3.1.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
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.