coltrane2ny / Markdig.Wpf.ColorCode

An extension for Markdig-Wpf that adds syntax highlighting to code through the power of ColorCode-WPF.
MIT License
4 stars 1 forks source link

How to customize the code style? #1

Open reggieqiao opened 2 months ago

coltrane2ny commented 2 months ago

Thank you for asking a question!

If you just want to change the colors, you can do so by specifying your StyleDictionary as an argument to the MarkdownPipelineBuilder.UseColorCodeWpf method.

The StyleDictionary is like this.