mobile
mobile copied to clipboard
feat: better syntax highlighting for descriptions and instructions
This adds better highlighting in the learn component. The readability is now better for both instructions and description.
It uses the highlightingView plugin that is already used for some of the aspects in news / learn.
Now instead of only highlighting the syntax that is normally highlighted by Prisma. It now highlights everything. Instead of having a boring container, with a bad font.
We should also consider different themes for the highlighter. This one is now set to atom-one-dark
Before:
After: