Skip to content

[EuiCodeBlock] Improve syntax highlighting for language="esql" #9420

@acstll

Description

@acstll

Requestor

@lucaslopezf

Problem Statement

The syntax highlighting for the esql language in EuiCodeBlock is different from the one in the Monaco editor.

Image

(Monaco editor on the left, EuiCodeBlock on the right)

Proposed Solution

Improve the styles of the esql language in EuiCodeBlock to get close to a 1:1 match with the Monaco editor.

Use Case

Improve user experience.

Value / Impact

The end-user benefits

Do alternatives or workarounds exist?

No.

Additional context (Optional)

The PR that originated the request: elastic/kibana#254537

Metadata

Metadata

Assignees

Labels

design decisionUse this to flag an item that needs input from the design teamrequestClear use case, business priority. Requires a clear yes/no answer or coordination.
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions