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

Svelte Syntax Highlighting Not Working #20129

Closed
michael-tharrington opened this issue Sep 18, 2023 · 2 comments · Fixed by #20286
Closed

Svelte Syntax Highlighting Not Working #20129

michael-tharrington opened this issue Sep 18, 2023 · 2 comments · Fixed by #20286
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc. bug always open for contribution external contributors welcome contribution is welcome!

Comments

@michael-tharrington
Copy link
Contributor

Describe the bug

When writing a code block and trying to use syntax highlighting for Svelte, it does not work.

To Reproduce

  1. Go to write a new post on DEV
  2. Create a code block and designate it as written in Svelte (e.g. see screenshots below)
  3. Preview the post
  4. Notice that code block is not formatted

Expected behavior

Codeblocks should recognize Svelte syntax highlighting.

Screenshots

svelte-syntax-highlighting svelte-syntax-highlighting-2

Additional context

This issue was raised by @Siddhant-K-code in the moderator channel.

@github-actions
Copy link
Contributor

Thanks for the issue, we will take it into consideration! Our team of engineers is busy working on many types of features, please give us time to get back to you.

To our amazing contributors: issues labeled bug are always up for grabs, but for feature requests, please wait until we add a ready for dev before starting to work on it.

If this is a feature request from an external contributor (not core team at Forem), please close the issue and re-post via GitHub Discussions.

To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @forem-team. The OSS Community Manager or the engineers on OSS rotation will follow up.

For full info on how to contribute, please check out our contributors guide.

@mirie mirie added bug always open for contribution external contributors welcome contribution is welcome! area: publishing experience issues related to an authors experience publishing. Tags, series, etc. labels Sep 18, 2023
@ktmouk
Copy link
Contributor

ktmouk commented Oct 4, 2023

rouge-ruby gem has recently supported Svelte syntax, but it seems it has not been released as a gem yet.
rouge-ruby/rouge#1979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc. bug always open for contribution external contributors welcome contribution is welcome!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants