Webority.Mentions 0.161.0

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

Webority.Mentions

A dependency-free reader for the mention values Webority mention boxes post, for .NET. It returns the distinct mentioned ids, the plain text a person reads, and the text and mention runs of a stored value.

Published publicly so dotnet restore needs no private feed. Built for Webority products; no support commitment outside them.

Use

using Webority.Mentions;

IReadOnlyList<string> notify = MentionText.Ids(input.Body);     // ["u-12", "u-40"]
string preview = MentionText.Plain(input.Body);                 // "Thanks @Asha Rao, see this"

A stored value is plain text in which each mention is the token @[Label](id), and a typed @[ is stored escaped so a person cannot forge a mention. A value is never HTML, so encode it like any other text when you show it. The React twin of this reader is parseMentionValue and mentionedIds in @webority/ui-elements.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Webority.Mentions:

Package Downloads
Webority.Ui.Razor

Webority shared Razor component library: the App* tag helpers and the admin shell for Razor Pages heads, bundling the @webority/theme design system as a static web asset.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.161.0 0 11/14/2026
0.160.0 172 11/14/2026
0.158.0 111 11/14/2026
0.157.0 238 11/13/2026
0.156.0 181 11/13/2026
0.155.1 84 11/13/2026
0.155.0 231 11/13/2026
0.154.0 89 11/13/2026
0.153.0 203 11/13/2026
0.152.0 234 11/13/2026
0.151.0 117 11/13/2026
0.150.0 170 11/12/2026
0.149.0 524 11/11/2026
0.148.0 295 11/11/2026
0.147.0 158 11/11/2026
0.146.2 595 11/10/2026
0.146.1 151 11/10/2026
0.146.0 159 11/10/2026
0.145.0 123 11/10/2026
0.144.2 210 11/9/2026
Loading failed