-
Notifications
You must be signed in to change notification settings - Fork 893
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
docs: add syntax highlighting for typescript #1345
Conversation
According to Docsify docs (https://docsify.js.org/#/language-highlight?id=language-highlighting) only few languages are supported by default by Prism (the underlying lib), and TypeScript is not. This commit aims to add such support on TypeScript snippets like the one at `web` page.
|
@jsumners changing the code below to
|
|
Nope. That didn't solve it. 🤷♂️ |
I tried with double quotes before and it errored-out (syntax error). Try |
tests ran properly. but looks like there's an unrelated worker error now 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
According to Docsify docs only few languages are supported by default by Prism (the underlying lib), and TypeScript is not. This PR adds such support on TypeScript snippets like the one at
web
page.