Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code block syntax highlighting to the markdown editor #255

Closed
martijnvankekem opened this issue Jan 25, 2022 · 2 comments · Fixed by #991
Closed

Add code block syntax highlighting to the markdown editor #255

martijnvankekem opened this issue Jan 25, 2022 · 2 comments · Fixed by #991
Labels
enhancement Idea of improvement of existing feature.
Milestone

Comments

@martijnvankekem
Copy link

martijnvankekem commented Jan 25, 2022

What's the Problem?

When a code language is added to a code block like this:
```css
.test {
position: absolute;
}
```

There is no syntax highlighting

Solution/Idea

Add syntax highlighting to code blocks based on the language

Alternatives

None

DevToys Version

Version 1.0.1.0 | X64 | RELEASE | 3f367f1 | 3f367f1

Comments

No response

@sushruth
Copy link

sushruth commented Oct 16, 2022

This would be a great addition!

Edit: Looks like it is fairly simple as well - using Markdown.ColorCode package. This seems to support all the languages supported by ColorCode.Core package (reference here)

@veler veler added this to the v2.0 milestone Mar 18, 2023
@veler veler added the enhancement Idea of improvement of existing feature. label Mar 19, 2023
@veler
Copy link
Collaborator

veler commented Dec 4, 2023

Coming soon to DevToys 2.0 :-)

image

@veler veler linked a pull request Dec 4, 2023 that will close this issue
18 tasks
@veler veler closed this as completed Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea of improvement of existing feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants