C# to Html Syntax Highlighter using Roslyn
Ever since Roslyn was announced I’ve had a few ideas about what I’d want to do with Roslyn. Primarily there are two things I’d love to use Roslyn for:
- Code generation – Generating code in such a way that I would have more semantic information about the existing code and thus be able to generate code in a “smarter” way.
- C# to Html syntax highlighting – There are a few solutions out there but for one reason or another, I’m just not happy with them.