Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eyelidlessness
on May 7, 2021
|
parent
|
context
|
favorite
| on:
I spent some time exploring how to improve the UX ...
This exists! But with a slightly different set of libraries than the highlighter used by the post author: remark-shiki-twoslash[1]. Shiki tokenizes using the same language definitions as VSCode, Twoslash uses the same language service.
1:
https://www.npmjs.com/package/remark-shiki-twoslash
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1: https://www.npmjs.com/package/remark-shiki-twoslash