Skip to content

Implement fallback to Rouge

Jacques Erasmus requested to merge 365442-hljs-fallback-rouge into master

What does this MR do and why?

Implements a fallback to Rouge when a language is not supported by Highlight.js and adds tracking events along the way.

changes in this MR are behind the highlight_js feature flag.

Screenshots or screen recordings

Screen_Recording_2022-06-20_at_10.23.28.2022-06-20_10_25_34

How to set up and validate locally

  1. Enable the highlight_js feature flag
  2. View a file from the repository file browser

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 #365442 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading