ProMarkdown.Plugin.TextMate
0.3.0
dotnet add package ProMarkdown.Plugin.TextMate --version 0.3.0
NuGet\Install-Package ProMarkdown.Plugin.TextMate -Version 0.3.0
<PackageReference Include="ProMarkdown.Plugin.TextMate" Version="0.3.0" />
<PackageVersion Include="ProMarkdown.Plugin.TextMate" Version="0.3.0" />
<PackageReference Include="ProMarkdown.Plugin.TextMate" />
paket add ProMarkdown.Plugin.TextMate --version 0.3.0
#r "nuget: ProMarkdown.Plugin.TextMate, 0.3.0"
#:package ProMarkdown.Plugin.TextMate@0.3.0
#addin nuget:?package=ProMarkdown.Plugin.TextMate&version=0.3.0
#tool nuget:?package=ProMarkdown.Plugin.TextMate&version=0.3.0
ProMarkdown
Reusable Avalonia markdown rendering and editing libraries built on Markdig.
Highlights
- Avalonia control and service layer for rendering Markdown documents.
- Source-aware editing, selection, hit testing, and URI handling.
- Optional plugin packages for alerts, custom containers, definition lists, figures, footers, math, Mermaid diagrams, syntax highlighting, and TextMate integration.
- Standalone sample application that composes the complete Markdown stack.
- Headless rendering and Mermaid test coverage.
Projects
| Project | Responsibility |
|---|---|
src/ProMarkdown |
Core controls, parsing, rendering, editing, layout, selection, and theme services. |
src/ProMarkdown.Plugin.Alerts |
Alert block parsing, rendering, and editing. |
src/ProMarkdown.Plugin.CustomContainers |
Generic custom-container support. |
src/ProMarkdown.Plugin.DefinitionLists |
Definition-list parsing, rendering, and editing. |
src/ProMarkdown.Plugin.Figures |
Figure and caption support. |
src/ProMarkdown.Plugin.Footers |
Footer metadata blocks. |
src/ProMarkdown.Plugin.Math |
Inline and block math support. |
src/ProMarkdown.Plugin.Mermaid |
Mermaid diagram rendering. |
src/ProMarkdown.Plugin.SyntaxHighlighting |
Built-in code syntax highlighting. |
src/ProMarkdown.Plugin.TextMate |
TextMate-backed highlighting and editor integration. |
src/ProMarkdown.Sample |
Desktop sample that composes the library and plugins. |
tests/ProMarkdown.Tests |
Headless rendering and Mermaid tests. |
NuGet packages
| Package | Version | Downloads | Description |
|---|---|---|---|
ProMarkdown |
Core Avalonia Markdown rendering and editing primitives. | ||
ProMarkdown.Plugin.Alerts |
Alert block parsing, rendering, and editing. | ||
ProMarkdown.Plugin.CustomContainers |
Custom-container parsing, rendering, and editing. | ||
ProMarkdown.Plugin.DefinitionLists |
Definition-list parsing, rendering, and editing. | ||
ProMarkdown.Plugin.Figures |
Figure block parsing, rendering, and editing. | ||
ProMarkdown.Plugin.Footers |
Footer block parsing, rendering, and editing. | ||
ProMarkdown.Plugin.Math |
Inline and block math parsing, rendering, and editing. | ||
ProMarkdown.Plugin.Mermaid |
Mermaid diagram rendering. | ||
ProMarkdown.Plugin.SyntaxHighlighting |
Built-in syntax highlighting for code blocks. | ||
ProMarkdown.Plugin.TextMate |
TextMate-backed highlighting and editor integration. |
Prerequisites
- .NET 11 SDK and .NET 10 runtime (to run tests on both targets)
Build and test
dotnet restore ProMarkdown.slnx
dotnet build ProMarkdown.slnx
dotnet test --solution ProMarkdown.slnx
The .NET 11 builds opt into Runtime Async. Build configuration
Run the sample
dotnet run --project src/ProMarkdown.Sample/ProMarkdown.Sample.csproj --framework net11.0
Use --framework net10.0 to run the sample on .NET 10.
The sample provides an editor and preview surface with the plugin ecosystem registered together.
The animated diagram demos cover native Mermaid edge animations and Mermaider.Animate scores. Animation syntax and Mermaid Live compatibility
Documentation
The published documentation is available at wieslawsoltes.github.io/ProMarkdown. The Lunet source lives under site/.
dotnet tool restore
bash ./check-docs.sh
To serve it locally:
bash ./serve-docs.sh
PowerShell equivalents are included for the build, check, and serve commands. Detailed Markdown implementation notes live under docs/.
CI and releases
.github/workflows/build.ymlbuilds, tests, validates docs, and packs the Markdown projects..github/workflows/docs.ymlpublishes the Lunet site..github/workflows/release.ymlvalidates releases and publishes packages through NuGet.org Trusted Publishing.
License
MIT. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- Avalonia (>= 12.2.0)
- Avalonia.AvaloniaEdit (>= 12.0.0)
- AvaloniaEdit.TextMate (>= 12.0.0)
- ProMarkdown (>= 0.3.0)
- TextMateSharp.Grammars (>= 2.0.5)
-
net11.0
- Avalonia (>= 12.2.0)
- Avalonia.AvaloniaEdit (>= 12.0.0)
- AvaloniaEdit.TextMate (>= 12.0.0)
- ProMarkdown (>= 0.3.0)
- TextMateSharp.Grammars (>= 2.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.