Ensure HTML blobs are highlighted with Highlight.js
What does this MR do and why?
Ensures when viewing HTML files that the language that is detected by Rouge is mapped to the correct Highlight.js syntax highlighter.
A list of languages that Highlight.js supports can be found here.
Screenshots or screen recordings
No visual changes are expected.
How to set up and validate locally
- Open an HTML file from the repository file browser.
- The HTML syntax should be highlighted just like before, but by Highlight.js.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jacques Erasmus