Skip to content

yaml syntax in EuiCodeBlock could be better #9079

@acstll

Description

@acstll

Point of contact → @P1llus

Problem Statement

Syntax highlighting for yaml is not looking as expected in EuiCodeBlock. It could be better, compared to defaults in prismjs (the library providing the highlighting).

Proposed Solution

Check whether it's possible to improve.

Use Case

AutoOps leverages yaml everywhere.

Additional context (Optional)

snippet in EuiCodeBlock

Image

snippet in prismjs test page

Image

Metadata

Metadata

Assignees

Labels

low hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixedrequestClear 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