MeshWeaver.Markdown.Collaboration 3.0.0-preview1

This is a prerelease version of MeshWeaver.Markdown.Collaboration.
dotnet add package MeshWeaver.Markdown.Collaboration --version 3.0.0-preview1
                    
NuGet\Install-Package MeshWeaver.Markdown.Collaboration -Version 3.0.0-preview1
                    
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="MeshWeaver.Markdown.Collaboration" Version="3.0.0-preview1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeshWeaver.Markdown.Collaboration" Version="3.0.0-preview1" />
                    
Directory.Packages.props
<PackageReference Include="MeshWeaver.Markdown.Collaboration" />
                    
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 MeshWeaver.Markdown.Collaboration --version 3.0.0-preview1
                    
#r "nuget: MeshWeaver.Markdown.Collaboration, 3.0.0-preview1"
                    
#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 MeshWeaver.Markdown.Collaboration@3.0.0-preview1
                    
#: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=MeshWeaver.Markdown.Collaboration&version=3.0.0-preview1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MeshWeaver.Markdown.Collaboration&version=3.0.0-preview1&prerelease
                    
Install as a Cake Tool

MeshWeaver.Markdown.Collaboration

Provides collaborative editing infrastructure for markdown documents, including Operational Transformation (OT) for concurrent edits, range-anchored comments, and tracked changes with accept/reject workflows.

Features

  • CollaborativeEditingCoordinator -- manages document state, applies OT transformations, and tracks active editing sessions with cursor positions
  • Text operations: InsertOperation, DeleteOperation, CompositeOperation with version-based conflict resolution
  • TextOperationTransformer for server-side OT transformation of concurrent edits
  • RangeComment -- comments anchored to text ranges via embedded markdown markers (``)
  • TrackedChange -- suggested edits (insertions, deletions, replacements) with pending/accepted/rejected status
  • AnnotationSyncService for synchronizing annotations between the document and external storage
  • MarkdownAnnotationParser for extracting and embedding annotation markers in markdown content
  • Vector clock-based versioning and session presence awareness with stale session cleanup

Usage

var coordinator = new CollaborativeEditingCoordinator();

// Initialize a document
coordinator.InitializeDocument("doc-1", "# Hello World");

// Apply an edit
var result = coordinator.ApplyOperation("doc-1",
    new InsertOperation { Position = 13, Text = "\nNew line", UserId = "user1" },
    currentContent: "# Hello World");

Dependencies

  • MeshWeaver.Data.Contract -- data contract types
  • MeshWeaver.Messaging.Contract -- messaging primitives
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 (3)

Showing the top 3 NuGet packages that depend on MeshWeaver.Markdown.Collaboration:

Package Downloads
MeshWeaver.Blazor

Package Description

MeshWeaver.AI

Package Description

MeshWeaver.Graph

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0-preview1 104 4/16/2026