ClrPlus.Pygments 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ClrPlus.Pygments --version 1.0.1                
NuGet\Install-Package ClrPlus.Pygments -Version 1.0.1                
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="ClrPlus.Pygments" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClrPlus.Pygments --version 1.0.1                
#r "nuget: ClrPlus.Pygments, 1.0.1"                
#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 ClrPlus.Pygments as a Cake Addin
#addin nuget:?package=ClrPlus.Pygments&version=1.0.1

// Install ClrPlus.Pygments as a Cake Tool
#tool nuget:?package=ClrPlus.Pygments&version=1.0.1                

The Pygments for .NET library exposes two properties and four methods in the Pygments.Highlighter class

public static IEnumerable<Lexer> Lexers; //  all the language lexers available

public static IEnumerable<string> Styles; // all the Styles available


public string HighlightToBBCode(
   string sourceCode,
   string lexerName,
   string styleName,
   bool codeTag = false,
   bool  monoFont = false );

public string HighlightToRTF(
   string sourceCode,
   string lexerName,
   string styleName,
   string fontFace=null);

public string HighlightToHtml(
   string sourceCode,
   string lexerName,
   string styleName,
   bool fragment = false,
   string title = "",
   bool generateInlineStyles = false,
   string classPrefix = "",
   string wrappingDivClass = "highlight",
   string wrappingDivStyles = "",
   string preStyles = "",
   LineNumberStyle lineNumberStyle = LineNumberStyle.none,
   int lineNumberStart = 1,
   bool noBackground = false,  
   string lineBreaks="\n",
   string lineAnchorPrefix = null,
   string lineSpanPrefix = null,
   bool anchorLineNumbers = false,
   string highlightLines = "");

public string HighlightToLatex(
   string sourceCode,
   string lexerName,
   string styleName,
   bool fragment = false,
   string title = "",
   string documentClass = "article",
   bool lineNumbers = false,
   int lineNumberStart = 1,
   int lineStep = 1,
   bool texComments = false,
   bool mathEscape = false )

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 156 10/25/2013
1.0.2 62 9/24/2013
1.0.1 62 9/24/2013
1.0.0 66 9/24/2013