(no title)
octref | 6 years ago
I built a syntax highlighter, Shiki, that allows you to use any theme from VS Code to color your code [0]. It works great with Node now as a static website generator plugin, but with some effort you can run it all in client side as well. TypeScript's new handbook is using Shiki [1].
I can't really believe how it's 2019 and Medium and Slack still can't syntax highlight code snippets.
[1]: https://microsoft.github.io/TypeScript-New-Handbook/chapters...
caspervonb|6 years ago