Markdown.ColorCode
1.0.1
See the version list below for details.
dotnet add package Markdown.ColorCode --version 1.0.1
NuGet\Install-Package Markdown.ColorCode -Version 1.0.1
<PackageReference Include="Markdown.ColorCode" Version="1.0.1" />
paket add Markdown.ColorCode --version 1.0.1
#r "nuget: Markdown.ColorCode, 1.0.1"
// Install Markdown.ColorCode as a Cake Addin #addin nuget:?package=Markdown.ColorCode&version=1.0.1 // Install Markdown.ColorCode as a Cake Tool #tool nuget:?package=Markdown.ColorCode&version=1.0.1
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.0
.NET CLI
dotnet add package Markdown.ColorCode --version 1.0.0
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 | 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 was computed. 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. |
-
net6.0
- ColorCode.Core (>= 2.0.13)
- ColorCode.HTML (>= 2.0.13)
- Markdig (>= 0.28.0)
NuGet packages (2)
Showing the top 2 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. |
|
DevToys.Tools
A set of offline tools installed by default with DevToys. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Markdown.ColorCode:
Repository | Stars |
---|---|
ktutak1337/Stellar-Chat
A versatile multi-modal chat application that enables users to develop custom agents, create images, leverage visual recognition, and engage in voice interactions. It integrates seamlessly with local LLMs and commercial models like OpenAI, Gemini, Perplexity, and Claude, and allows to converse with uploaded documents and websites.
|
Version | Downloads | Last updated |
---|---|---|
2.3.0 | 8,903 | 7/17/2024 |
2.2.2 | 6,763 | 4/30/2024 |
2.2.1 | 6,079 | 2/18/2024 |
2.2.0 | 371 | 2/13/2024 |
2.2.0-preview-5 | 113 | 2/13/2024 |
2.2.0-preview-4 | 118 | 2/12/2024 |
2.1.0 | 13,554 | 11/16/2023 |
2.0.0 | 4,886 | 9/3/2023 |
2.0.0-preview-1 | 133 | 8/23/2023 |
1.1.2 | 2,766 | 8/18/2023 |
1.1.1 | 1,806 | 8/1/2023 |
1.1.0 | 154 | 8/1/2023 |
1.1.0-preview-1 | 153 | 7/30/2023 |
1.0.4 | 5,688 | 5/26/2023 |
1.0.4-preview-2 | 134 | 5/25/2023 |
1.0.3 | 3,396 | 3/12/2023 |
1.0.2 | 7,982 | 12/10/2022 |
1.0.1 | 12,032 | 3/19/2022 |
1.0.0 | 1,071 | 1/20/2022 |
0.1.0 | 615 | 1/15/2022 |