exercism / exercism/v3-beta

[Page: Mentoring/Discussion] Preview Syntax Highlighting not working as expected.

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
No language data
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

On the input area on mentoring discussion page there is a preview button that shows the rendered markdown. At the moment it looks like the syntax highlighting is not working on the preview screen.

Original Source:
![image](https://user-images.githubusercontent.com/2495113/126019874-2596f13b-32e2-4ff2-952e-0a51aabd4504.png)

Preview:
![image](https://user-images.githubusercontent.com/2495113/126019886-9a52d2c8-cb35-4822-9fc5-59296e3f8485.png)

Posted:
![image](https://user-images.githubusercontent.com/2495113/126019891-28dfe6d0-84b1-40a0-b943-abdd42dceddb.png)

Code for copy&paste
````
Sorry for using this mentoring session for testing. Please ignore this post, I will delete it in a moment.

```csharp
// Comment Syntax Highlighting
var x = 123.45;
```
````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.