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

Not all chroma languages supported #12980

Closed
jbirnick opened this issue Oct 23, 2024 · 2 comments
Closed

Not all chroma languages supported #12980

jbirnick opened this issue Oct 23, 2024 · 2 comments

Comments

@jbirnick
Copy link

jbirnick commented Oct 23, 2024

Hugo uses Chroma for syntax highlighting. However, it seems like it doesn't support all the languages that Chroma supports.

For example, Chroma supports the language "Typst", but Hugo does not. (It's neither listed here nor does it work with the current version.)

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.136.4+extended linux/amd64 BuildDate=unknown
@jmooring
Copy link
Member

jmooring commented Oct 23, 2024

Chroma added the Typst lexer on 6 October 2024 via alecthomas/chroma@114c584. Hugo will support Typst at some point after the Chroma project rolls a new release. See alecthomas/chroma#1014.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants