rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.33k stars 735 forks source link

Add support for *.svelte files - Svelte lexer #1717

Open rafrafek opened 3 years ago

rafrafek commented 3 years ago

Svelte https://svelte.dev/docs#Component_format Svelte is number one in satisfaction and 4th in usage ranking among JavaScript front-end frameworks according to State of JS https://2020.stateofjs.com/en-US/technologies/front-end-frameworks/

Implementation in other libraries Chroma Svelte lexer: https://github.com/alecthomas/chroma/blob/master/lexers/s/svelte.go

Additional context GitLab issue: https://gitlab.com/gitlab-org/gitlab/-/issues/195631

Rudedog9d commented 2 years ago

Updated (perma)link for Chroma Svelte Lexer: svelte.go

Rudedog9d commented 1 year ago

Updated Related Gitlab issue: https://gitlab.com/gitlab-org/gitlab/-/issues/419070

Rudedog9d commented 1 year ago

I'm going to take a crack at this, doesn't look like I can assign myself though