Skip to content

Ensure HTML blobs are highlighted with Highlight.js

Jacques Erasmus requested to merge rouge-hljs-html into master

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

  1. Open an HTML file from the repository file browser.
  2. 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.

Edited by Jacques Erasmus

Merge request reports

Loading