Releases: wbaldoumas/markdown-colorcode
Releases · wbaldoumas/markdown-colorcode
v3.0.0
What's Changed
- Drop support for .NET 6 and .NET 7, since they are no longer in support by Microsoft.
- Dependency updates for
Markdig
andCsharpToColouredHTML.Core
. Note that theCsharpToColouredHTML.Core
update jumps two major versions and includes various functional and performance enhancements pulled from that library. See the details in the CHANGELOG in the repository there for details.
Package | Change |
---|---|
Markdig (source) | 0.37.0 -> 0.40.0 |
CsharpToColouredHTML.Core | 1.0.44 -> 3.0.2 |
Full Changelog: v2.3.0...v3.0.0
v2.3.0
What's Changed
- Add TFM netstandard2.0 by @ElderJames in #150
- v2.3.0 Release by @wbaldoumas in #152
New Contributors
- @ElderJames made their first contribution in #150
Full Changelog: v2.2.2...v2.3.0
v2.2.1
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
v2.1.0
v2.0.0
[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, passHtmlFormatterType.Css
to theUseColorCode
extension method to define the same behavior. - Various classes have been made
internal
to reduce the footprint of this package.