Provides syntax highlighting for raw source code displayed in current tab.
To activate, click on the add-on button in Firefox toolbar, and select the language syntax you want to use (or
Auto-detect for automatic detection). You can also select the color theme to use, or enable line numbering, in the add-on preferences.
When line numbering is activated, you can jump to a line of the file (e.g. line 27) by adding “#l27” at the end of the URL and then reloading the page (hitting “Enter” after URL change is not enough to trigger the jump).
Syntax highlighting by itself relies on highlight.js project (see https://highlightjs.org). Currently packaged is the version 9.12.0 of highlight.js, which provides 78 color themes and syntax for 175 programming languages.