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" />
<PackageReference Include="MeshWeaver.Markdown.Collaboration" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=MeshWeaver.Markdown.Collaboration&version=3.0.0-preview1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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,CompositeOperationwith version-based conflict resolution TextOperationTransformerfor server-side OT transformation of concurrent editsRangeComment-- comments anchored to text ranges via embedded markdown markers (``)TrackedChange-- suggested edits (insertions, deletions, replacements) with pending/accepted/rejected statusAnnotationSyncServicefor synchronizing annotations between the document and external storageMarkdownAnnotationParserfor 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 typesMeshWeaver.Messaging.Contract-- messaging primitives
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- MeshWeaver.Data.Contract (>= 3.0.0-preview1)
- MeshWeaver.Messaging.Contract (>= 3.0.0-preview1)
- System.Security.Cryptography.Xml (>= 10.0.6)
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 |