Open sylveon opened 6 years ago
@aalok05 Since that's basically a chunk of source code anyways, can't you just use the same API we're already using to get the syntax highlight HTML to display when opening a code file?
That's a good idea, however some logic has to be written to color the lines starting with + or -
Isn't it just possible to use the diff
syntax highlighting scheme?
Eg:
@@ -52,17 +52,6 @@ struct WINCOMPATTRDATA
// Unchanged code
- // Deleted line
+ // Added line
@sylveon This scheme is not yet supported in MarkdownTextblock of UWP community toolkit, which is what we are using. We'll have to create a custom control for this.