You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a port of ColorCode to .NET Standard. The original Html only formatter has been separated from the Logic, so now it can produce Syntax Highlighted code for any output. This Project can currently produce HTML, and Render to UWP RichTextBlocks.
This is a port of ColorCode to .NET Standard. The original Html only formatter has been separated from the Logic, so now it can produce Syntax Highlighted code for any output.
This Project can currently produce HTML, and Render to UWP and WindowsAppSDK RichTextBlocks.
Usage
HTML
To use ColorCode to create colorised HTML, ensure you have installed the ColorCode.HTML NuGet package, then you can use the following code:
The Library containing the RichTextBlockFormatter, for rendering the Colorized Code to a RichTextBlock.
Tested against 10.0.14393.0 and up.
Feedback and Requests
Please use GitHub issues for bug reports and feature requests.
Contributing
Want to help out and add some more parsing support, or add a new Formatter platform? Submit a PR!
License
MIT
About
This is a port of ColorCode to .NET Standard. The original Html only formatter has been separated from the Logic, so now it can produce Syntax Highlighted code for any output. This Project can currently produce HTML, and Render to UWP RichTextBlocks.