Skip to content

CodeMirror Blob: add syntax highlighting to find ref blobs

Warren Gifford requested to merge olafurpg/cm-ref-hl into main

Created by: olafurpg

Fixes #40510 (closed).

Previously, the preview pane in the new reference panel didn't have syntax highlighting when using the new CodeMirror blob view. This commit fixes this issue by updating the GraphQL query for syntax highlighting to mirror the query that we use to highlight regular blob views.

Test plan

Manually ran the change locally and verified that the preview pane is now syntax highlighted.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading