Skip to content
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

feat: enable highlighting js tagged template literals and modern js syntax #45

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

trongthanh
Copy link
Contributor

Summary

Enable highlighting of CSS-in-JS and the like in tagged template literals (via js-templates language extension) as well as better js syntax tokenization (via js-extras).

Test plan

I've added a sample codeblock to example/__fixtures__/markdown/2.Markdown.md to preview. It should highlight the CSS inside tagged template for styled component:

image

@satya164 satya164 merged commit 3730487 into callstack:master Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants