FearTheCowboy.Pygments
Metadata
Authors | fearthecowboy coapp |
---|---|
Description | 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( ... ) public string HighlightToRTF( ... ) public string HighlightToHtml( ... ) public string HighlightToLatex( ... ) Example: using System.IO; namespace test { class Program { static void Main(string[] args) { var highlighter = new Pygments.Highlighter(); var src = File.ReadAllText(@"program.cs"); File.WriteAllText("output.html", highlighter.HighlightToHtml(src, "c#", "vs", highlightLines: "7 8 9 10")); } } } |
LicenseUrl | https://bitbucket.org/birkenfeld/pygments-main/src/7304e4759ae65343d89a51359ca538912519cc31/LICENSE?at=default |
Owners | fearthecowboy coapp |
ProjectUrl | https://github.com/fearthecowboy/pygments |
ReleaseNotes | Updated to pygments source v1.6 |
RequireLicenseAcceptance | False |
Summary | A single assembly .Net wrapper for Pygments Syntax Highlighter |
Title | Pygments |
PackageSize | 3347784 |
PackageHashAlgorithm | SHA512 |
PackageHash | erUaTDLZVmRnZM55y6DqoSd4KFo8kz+lpJpKp66QsuZtWiwslSe9kndAtmKmGX5ofKDTevSgF4HpaJQnSgohvg== |
DownloadCount | 000000 |
CreatedDate | 2015-07-22T21:00:42 |
Access
You can access data for this project using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install FearTheCowboy.Pygments -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install FearTheCowboy.Pygments -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
NuGet (Package Manager Console)
- Installing the package (search all configured feeds):
-
Install-Package FearTheCowboy.Pygments
- Installing the package (HTTP Basic authentication):
-
Install-Package FearTheCowboy.Pygments -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package FearTheCowboy.Pygments -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Uinstalling the package:
-
Uninstall-Package FearTheCowboy.Pygments
OpenWrap
- Installing the package:
-
o add-wrap FearTheCowboy.Pygments
- Uninstalling the package:
-
o remove-wrap FearTheCowboy.Pygments
Versions
A version is snapshot of a project's source code. It does not need to follow the Major.Minor.Revision.Build numbering pattern. It can be an arbitrary string of text that identifies a release or a build, in particular including meaningful words like beta, RC or RTM.