-
Notifications
You must be signed in to change notification settings - Fork 38
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: add Svelte language to CodeMirror #212
feat: add Svelte language to CodeMirror #212
Conversation
Run & review this pull request in StackBlitz Codeflow. |
aaeb47a
to
57e1114
Compare
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.
Hey @adrianmroz! Thanks a lot for the PR! 😃
This looks pretty good!
Only a few more steps and we can merge your PR:
- The dependency seems to need a few
peerDependencies
:@lezer/common
,@lezer/javascript
,@lezer/lr
. Could you add them explicitly to thepackage.json
as well? - The lock file needs to be updated. You can do that with
pnpm i
at the root of the workspace.
If you want to test your changes you can then do:
pnpm dev
You can add a temporary svelte file in packages/template/src/content/tutorial/1-basics/1-introduction/1-welcome/_files
, you navigate to http://localhost:4321/ and check that the syntax highlighting works as expected.
Let me know if you run into any issues!
57e1114
to
cdb8ff5
Compare
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.
Looks good! Thanks for the PR 😃
Should solve #211