Notepad.Avalonia 0.1.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Notepad.Avalonia --version 0.1.3
                    
NuGet\Install-Package Notepad.Avalonia -Version 0.1.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Notepad.Avalonia" Version="0.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Notepad.Avalonia" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Notepad.Avalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Notepad.Avalonia --version 0.1.3
                    
#r "nuget: Notepad.Avalonia, 0.1.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Notepad.Avalonia@0.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Notepad.Avalonia&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Notepad.Avalonia&version=0.1.3
                    
Install as a Cake Tool

Notepad.Avalonia

A single-note markdown editor control for Avalonia UI with inline image pasting support.

Features

  • Markdown text editing for a single note
  • Inline image support (paste from clipboard or programmatic insert)
  • Full undo/redo with intelligent coalescing
  • Text selection (single and multi-line)
  • Clipboard integration (text + images)
  • Text wrapping
  • Light/Dark theme support
  • MVVM-ready via MarkdownText property binding
  • Optimized for large documents (FormattedText caching, incremental layout, viewport culling)

Quick Start

var editor = new NoteEditor
{
    DefaultFont = new FontFamily("Segoe UI"),
    DefaultFontSize = 15,
    MarkdownText = "Hello world\nSecond line with ![alt](imageKey)"
};

MVVM Usage

<notepad:NoteEditor MarkdownText="{Binding MarkdownText}"
                    Images="{Binding Images}" />
public class MyViewModel : INotifyPropertyChanged
{
    public string? MarkdownText { get; set; }
    public ObservableCollection<ImageEntry> Images { get; } = new();
}

Installation

dotnet add package Notepad.Avalonia

License

MIT

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.4 161 6/23/2026
0.1.3 97 6/22/2026
0.1.2 100 6/21/2026
0.1.1 96 6/21/2026