Mozzarella

Home

Enlight

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 11.0.1 of highlight.js, which provides 242 color themes and syntax for 196 programming languages.

Install
Language selection panel Highlighted code (language: diff, style: Solarized - dark) Add-on manager: color scheme selection menu Add-on manager: selection of languages to use in pop-up and for autodetection