Diff syntax highlighting in MarkdownTextblock #3969
Replies: 12 comments
|
Great suggestion. Thanks for creating a UserVoice entry. If you are up for it, feel free to submit a PR to add this feature |
|
Ok I'll start working on a PR 👍 |
|
Is this part of Markdown standard? Just curious. |
|
There isn't really a markdown standard, commonMark probably being the most common one. Don't believe diff syntax higlighting is in commonMark, but it's used in many markdown implementations. |
|
Whats the current status? |
|
Closing the issue because of inactivity. Let's reopen if someone wants to work on it. |
|
Let's leave this issue open in case someone wants to work on it. I'll mark it as help wanted |
|
#1650 is now finished, and there is a PR here for this: CommunityToolkit/ColorCode-Universal#3 |
|
@Kyaa-dost @aalok05 this isn't supported out of the box, but I believe @WilliamABradley was hinting that with addition of the ColorCode package and the possibility to have the Render do custom actions, it could be enabled? However, I'm not really sure how to do that (though our Sample App does some of this for its own wrappers for DocFX). @MihaZupan is this syntax supported by the GitHub extensions to Markdig? As that'd make this scenario easier to handle with #3200. |
|
Markdig will parse this as any other fenced code block, and the renderer will output the |
Uh oh!
There was an error while loading. Please reload this page.
I'm submitting a...
UserVoice link
https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/32159233-diff-syntax-highlighting-in-markdowntextblock
Current behavior
Diff syntax highlighting is currently not supported in MarkdownTextblock. This would be useful for GitHub related scenarios.
Expected behavior
Environment
All reactions