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 |
Beta Was this translation helpful? Give feedback.
-
Ok I'll start working on a PR 👍 |
Beta Was this translation helpful? Give feedback.
-
Is this part of Markdown standard? Just curious. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
This has relevance to #1650 |
Beta Was this translation helpful? Give feedback.
-
Whats the current status? |
Beta Was this translation helpful? Give feedback.
-
Closing the issue because of inactivity. Let's reopen if someone wants to work on it. |
Beta Was this translation helpful? Give feedback.
-
Let's leave this issue open in case someone wants to work on it. I'll mark it as help wanted |
Beta Was this translation helpful? Give feedback.
-
#1650 is now finished, and there is a PR here for this: CommunityToolkit/ColorCode-Universal#3 |
Beta Was this translation helpful? Give feedback.
-
@aalok05 was this resolved? |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
Markdig will parse this as any other fenced code block, and the renderer will output the |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions