Skip to content

Releases: wbaldoumas/markdown-colorcode

v2.3.0

17 Jul 03:27
4312435
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.2...v2.3.0

v2.2.1

18 Feb 02:56
0b653ae
Compare
Choose a tag to compare

Changed

Dependency updates:

Package Change
CsharpToColouredHTML.Core 1.0.41 -> 1.0.42
HtmlAgilityPack (source) 1.11.58 -> 1.11.59
Markdig (source) 0.34.0 -> 0.35.0
NSubstitute.Analyzers.CSharp 1.0.16 -> 1.0.17

v2.2.0

13 Feb 21:29
b4bb8b6
Compare
Choose a tag to compare

[2.2.0] - 2024-02-12

Changed

  • Introduced a new Markdown.ColorCode.CSharpToColoredHtml package that provides improved syntax highlighting for C# code blocks. See the README for more information.

v2.1.0

30 Nov 02:06
269d1ad
Compare
Choose a tag to compare

[2.1.0] - 2023-11-15

This release adds .NET 8 to the list of targeted frameworks of this package.

Changed

  • Include .NET 8 in multi-targeting (#121)

v2.0.0

03 Sep 22:59
32c5d5c
Compare
Choose a tag to compare

[2.0.0] - 2023-09-03

This release includes several breaking changes. See the details below for more info.

Changed

The UseColorCode MarkdownPipelineBuilder extension method has been changed to take in additional optional parameters. These are:

Parameter Default Usage
htmlFormatterType HtmlFormatterType.Style The HTML formatter type to use. Supports inline style-based (default) or CSS class-based code colorization.
styleDictionary StyleDictionary.DefaultDark The code colorization style to use.
additionalLanguages null Additional languages to augment the built-in languages provided by ColorCode-Universal.
defaultLanguageId null A default language ID to use if the language at hand can't be found within the languages provided by ColorCode-Universal (or the additionalLanguages which have augmented them). The default language will also be used if no language is provided for the given code block.

Removed

  • Removed the UseColorCodeWithClassStyling MarkdownPipelineBuilder extension method. If you were previously using this, pass HtmlFormatterType.Css to the UseColorCode extension method to define the same behavior.
  • Various classes have been made internal to reduce the footprint of this package.