Markdown.ColorCode
1.2.0-preview-2
See the version list below for details.
dotnet add package Markdown.ColorCode --version 1.2.0-preview-2
NuGet\Install-Package Markdown.ColorCode -Version 1.2.0-preview-2
<PackageReference Include="Markdown.ColorCode" Version="1.2.0-preview-2" />
paket add Markdown.ColorCode --version 1.2.0-preview-2
#r "nuget: Markdown.ColorCode, 1.2.0-preview-2"
// Install Markdown.ColorCode as a Cake Addin
#addin nuget:?package=Markdown.ColorCode&version=1.2.0-preview-2&prerelease
// Install Markdown.ColorCode as a Cake Tool
#tool nuget:?package=Markdown.ColorCode&version=1.2.0-preview-2&prerelease
Markdown.ColorCode
About The Project
An extension for Markdig that adds syntax highlighting to code through the power of ColorCode.
Demonstration
Before
using Foo.Bar.Baz;
namespace Foo.Api;
public interface FooService {
/// <summary>
/// Gets a new Foo!
/// </summary>
/// <returns>A new Foo</returns>
public void GetFoo() {
return new Foo();
}
}
After
using Foo.Bar.Baz;
namespace Foo.Api;
public interface FooService {
/// <summary>
/// Gets a new Foo!
/// </summary>
/// <returns>A new Foo</returns>
public void GetFoo() {
return new Foo();
}
}
Installation
Package Manager
Install-Package Markdown.ColorCode -Version 1.0.2
.NET CLI
dotnet add package Markdown.ColorCode --version 1.0.2
Usage
To use this extension with Markdig, simply install the Markdown.ColorCode
package use the ColorCode extension:
var pipeline = new MarkdownPipelineBuilder()
.UseAdvancedExtensions()
.UseColorCode()
.Build();
var colorizedHtml = Markdig.Markdown.ToHtml(someMarkdown, pipeline);
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For detailed contributing guidelines, please see CONTRIBUTING.md.
License
Distributed under the MIT License
License. See LICENSE
for more information.
Contact
Project Link: https://github.com/wbaldoumas/markdown-colorcode
Acknowledgements
This README
was adapted from
https://github.com/othneildrew/Best-README-Template.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- ColorCode.Core (>= 2.0.14)
- ColorCode.HTML (>= 2.0.14)
- Markdig (>= 0.30.4)
-
.NETStandard 2.1
- ColorCode.Core (>= 2.0.14)
- ColorCode.HTML (>= 2.0.14)
- Markdig (>= 0.30.4)
-
net6.0
- ColorCode.Core (>= 2.0.14)
- ColorCode.HTML (>= 2.0.14)
- Markdig (>= 0.30.4)
-
net7.0
- ColorCode.Core (>= 2.0.14)
- ColorCode.HTML (>= 2.0.14)
- Markdig (>= 0.30.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Markdown.ColorCode:
Package | Downloads |
---|---|
Markdown.ColorCode.CSharpToColoredHtml
An extension for Markdig that adds syntax highlighting to code through the power of ColorCode, boosted with the CsharpToColouredHTML.Core package. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.1 | 2,099 | 2/18/2024 |
2.2.0 | 317 | 2/13/2024 |
2.2.0-preview-5 | 75 | 2/13/2024 |
2.2.0-preview-4 | 64 | 2/12/2024 |
2.1.0 | 7,417 | 11/16/2023 |
2.0.0 | 4,290 | 9/3/2023 |
2.0.0-preview-1 | 115 | 8/23/2023 |
1.1.2 | 2,089 | 8/18/2023 |
1.1.1 | 1,689 | 8/1/2023 |
1.1.0 | 130 | 8/1/2023 |
1.1.0-preview-1 | 120 | 7/30/2023 |
1.0.4 | 5,419 | 5/26/2023 |
1.0.4-preview-2 | 108 | 5/25/2023 |
1.0.3 | 3,364 | 3/12/2023 |
1.0.2 | 7,562 | 12/10/2022 |
1.0.1 | 11,864 | 3/19/2022 |
1.0.0 | 1,030 | 1/20/2022 |
0.1.0 | 557 | 1/15/2022 |