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
MarkdownTextBlock is the implementation I used to render Markdown and it uses ColorCode behind scenes for rendering Code blocks and here is the list of languages it supports out of box:
Language Support
ColorCode supports the following languages:
XML
Java
JavaScript
SQL
C#
VB.NET
ASPX (C#)
ASPX (VB.NET)
C++
PHP
PowerShell
Typescript
FSharp
You can either add python highlighting supports for ColorCode library or add custom code block renderer for MarkdownTextBlock for python. Either way works.
Python code highlighting doesn't work. Also, some other keywords (ex:
console.log()
JS) from other languages don't highlight.To Reproduce
See screnshots.
Expected behavior
The keywords should be colored. They're all white.
I also tried
python
instead ofpy
. Didn't work as well.Screenshots
Desktop
The text was updated successfully, but these errors were encountered: