-
Notifications
You must be signed in to change notification settings - Fork 258
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSX highlighting support #548
Labels
enhancement
New feature or request
Comments
@Splaktar The |
Wow, the plugin now uses Prism. I'm looking forward to the next update. |
I guess it's time to reopen this issue because Scully will be able to highlight JSX/TSX by adding following modules. // libs/scully/src/lib/fileHanderPlugins/markdown.ts
require("prismjs/components/prism-jsx");
require("prismjs/components/prism-tsx"); |
puku0x
added a commit
to puku0x/scully
that referenced
this issue
Aug 8, 2020
10 tasks
SanderElias
pushed a commit
that referenced
this issue
Aug 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃З Feature request
Description
markdownPlugin
does not highlight some React / StencilJS components becausehighlight.js
which is used in the plugin does not support.tsx
files.Example
Describe the solution you'd like
I think Prism is a good alternative to solve this problem.
Describe alternatives you've considered
.tsx
asjavascript
ortypescript
highlight.js
supports.tsx
(typescript) Add JSX support to Typescript聽highlightjs/highlight.js#1155
The text was updated successfully, but these errors were encountered: