Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • I have question: why SE stuff (one person) will not report further such fundamental bugs? This person will once read all issue list of highlight.js and can easily decide it is bug or not. This looks really non-profesional when you see such highlight bugs... The SE chose that library so I think - it is SE responsibility to report such bugs further to highligt.js - especially In situation when this process is complicated (everybody need to get know all issue list). Am I wrong? Commented Dec 3, 2020 at 11:45
  • 1
    I need to check for existing reports on github.com/highlightjs/highlight.js/issues and eventualy post new bug reports. So I have few question not mentioned here. Which version of highlight.js is used on SE sites ? How colors are predifined ? Basicly I know/suppose that this is maintainged by CSS file, I ask do SE Sites use standard colors from https://github.com/highlightjs/ project or SE Sites use own sets of colors ? Could we change color and tone of colors ? Commented Feb 4, 2021 at 21:46
  • I look into highlight.js demo then I select Language Categories=All and Themes=Stackoverflow Light are this theme exactly the same used on SE Sites ? Which language is used for lang-default ? Commented Feb 4, 2021 at 22:42
  • 1
    how to find a list of languages supported by Stack Exchange? (Not the list supported by highlight.js)
    – Cadoiz
    Commented Sep 20, 2021 at 6:36
  • 1
    @MichałLipok [1/2] 1. You could type hljs.versionString in your browser's console (F12) or use this script to check the version of Highlight.js; 2. SE uses its own colors; 3. According to sources, it may be a bit outdated (Updated: 2021-05-15), but generally it should be the same theme;
    – EvgenKo423
    Commented Nov 23, 2021 at 9:47
  • @MichałLipok [2/2] 4. lang-default is a mistake. By default Highlight.js errors out, but SE made it to use an automatic language detection instead.
    – EvgenKo423
    Commented Nov 23, 2021 at 9:59
  • @Cadoiz See "Language codes currently available on Stack Exchange" section below.
    – EvgenKo423
    Commented Nov 23, 2021 at 10:04