Skip to content

Fix CEL code block syntax highlighting warnings#1817

Open
MUFFANUJ wants to merge 1 commit intokyverno:mainfrom
MUFFANUJ:removecelError
Open

Fix CEL code block syntax highlighting warnings#1817
MUFFANUJ wants to merge 1 commit intokyverno:mainfrom
MUFFANUJ:removecelError

Conversation

@MUFFANUJ
Copy link

Related issue

fixes #1798

Proposed Changes

Added a language alias configuration that maps cel (Common Expression Language) to javascript for syntax highlighting purposes. Since CEL uses JavaScript-like syntax, this provides accurate highlighting while eliminating the warnings.

Before

Screenshot 2026-01-21 at 1 21 03 AM

After

Screenshot 2026-01-21 at 1 18 47 AM
  • I have read the contributing guidelines.
  • I have inspected the website preview for accuracy.
  • I have signed off my issue.

Signed-off-by: anujkumar.singh <anujsinghhero292@gmail.com>
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.

[Bug] astro-expressive-code: Error while highlighting code block using language "cel" in document

1 participant