KeywordHighlighter 1.0.0

dotnet add package KeywordHighlighter --version 1.0.0
NuGet\Install-Package KeywordHighlighter -Version 1.0.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="KeywordHighlighter" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KeywordHighlighter --version 1.0.0
#r "nuget: KeywordHighlighter, 1.0.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.
// Install KeywordHighlighter as a Cake Addin
#addin nuget:?package=KeywordHighlighter&version=1.0.0

// Install KeywordHighlighter as a Cake Tool
#tool nuget:?package=KeywordHighlighter&version=1.0.0
This utility project will help you in matching the list of strings against one string and provide a overall result where all the strings would be matched. This comes in both case sensitive and insensitive. To enable case sensitive match, pass a bool value of true into the constructor.

Eg: Below is a sample.

        *var list = new List<string>();

        list.Add("paP");
        list.Add("APeR");
        list.Add("Y DRY P");
        list.Add("N");

        var highlighter = new KeywordHighlighter(true);

        Console.WriteLine(highlighter.HighlightText(list,originalText, startTag, endTag));*
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
1.0.0 1,249 10/8/2017

Use a list of keyowrds against a string to find the matches and highlight them with your preference of literals. For an instance for html we can use, <b> for starting tag and </b> for ending tag to make the matching literals bold. Also we can have a case sensitive/in sensitive match