Syntax Highlighter displays a block of code with language-aware colour highlighting, using Prism.js under the hood.
This is the settings reference; see the other Syntax Highlighter docs for line highlighting and the download button specifically.
Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.
Before You Start
- Edition: Free — Syntax Highlighter ships in The Plus Addons for Elementor Free plugin.
- Widget to enable: Syntax Highlighter, switched on under The Plus Addons > Widgets.
- Deprecated: confirmed on the live Widgets screen (The Plus Addons > Widgets, Essential category) – the widget card carries a DEPRECATED badge. It still works if you already have it on a page, but it is not being developed further; avoid building new pages around it.
Content Tab
| Setting | What it does | Default |
|---|---|---|
| Language | The programming language Prism.js highlights the code as. | Markup (HTML) |
| Theme | The colour theme applied to the highlighted code. | Prism Default |
| Source Code | The actual code to display. | Sample welcome message |
| Alignment | Text alignment inside the code block. | Left |

Options
| Setting | What it does | Default |
|---|---|---|
| Language Text | A label shown identifying the language, e.g. “HTML”. | Empty |
| Line Number | Show line numbers down the left edge. | Off |
| Line Highlight | A text field naming which line number(s) to tint (see the dedicated doc). | Empty |
| Download Button | Show a button that downloads the code as a file. | Off |
| Copy Text / Copied Text / Copy Error Text | The button’s three label states. | Copy / Copied! / Error |

How It Behaves
Not independently re-tested on a rendered front-end page this session – the highlighting itself (Prism.js colouring the configured language/theme) was not watched running. Every control name, type and default above is taken from a fresh live control extraction (not the old doc’s wording, and not memory).
Limitations
- The widget is deprecated (see Before You Start) – the panel and admin screen both flag this, and no replacement widget is named.
- The actual highlighting render and the Copy/Download button’s runtime behaviour were not independently observed on the front end this session.
Troubleshooting
The code does not appear highlighted
Confirm the widget is enabled at The Plus Addons > Widgets, and that the Language setting actually matches the language of the code you pasted in.