Skip to content

Move BiDi char wrapper to hljs plugin

Jacques Erasmus requested to merge 366531-move-bidi-wrapper-to-hljs-plugin into master

What does this MR do and why?

Moves our BiDi character wrapper logic to a Highlight.js plugin as part of the effort to highlight content in a webworker.

Description MR
Move the blob_info GraphQL request to StatupJS !97371 (merged)
Create a WebWorker to handle the task of Highlighting !98340 (merged)
Move BiDi char wrapper to hljs plugin 👈 this MR
Highlight all source code with the WebWorker follow-up

Screenshots or screen recordings

No visual changes are expected.

How to set up and validate locally

  1. Create a file containing BiDi characters example
  2. Open the file from the repository files browser
  3. The BiDi characters should be highlighted

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #366531 (closed)

Edited by Jacques Erasmus

Merge request reports