Syntax Highlighter: Settings Overview

Key Takeaways

  • The Plus Addons for Elementoru2019s Syntax Highlighter widget supports 25+ coding languages.
  • The Syntax Highlighter widget includes multiple code themes for customization.
  • Users can add a copy paste button and a download button in the Syntax Highlighter.
  • Specific line highlighting is available in the Syntax Highlighter widget.
  • The widget allows alignment settings for code display, including left, right, or center.
Table Of Content

The Plus Addons for Elementor’s Syntax highlighter widget allows users an easy way to customize Elementor code appearance. Take control of your code’s look on Elementor effortlessly.

With the Syntax Highlighter widget, you can highlight 25+ different coding Languages, it’s user-friendly and enhances your code’s presentation.

Required Setup

How to Activate the Syntax Highlighter Widget?

Go to 

  • The Plus Addons Widgets 
  • Search the widget name and turn on the toggle.
Syntax highlighter syntax highlighter: settings overview from the plus addons for elementor

Key Features

How to Add Syntax Highlighter in Elementor?

To use the Syntax Highlighter widget, add the widget on the page.

Source Code

From the Language dropdown, you can select from 25+ coding languages that you want to add in syntax highlighter.

Let’s select HTML Markup from the Language dropdown.

From the Theme dropdown, you can select from any eight different themes such as Default, Coy, and Dark etc.

Syntax highlighter demo styles

Here, we have selected Default theme.

In the Source Code field, you have to add the source code.

Then from the Alignment option, you can set the alignment of the code to left, right, or center.

Syntax highlighter cotnent syntax highlighter: settings overview from the plus addons for elementor

Options

From Options, you can add copy paste button, and a download button and highlight any specific line in syntax highlight.

Language Text – From here, you can add a button to display the language code in the syntax highlighter.

Copy Text – From here, you have the option to customize the name of the copy button

Copy Icon – From here, you have the option to customize the icon of the copy button.

Copied Text – From here, you can customize the name of the copied button that will be visible after clicking the copy button.

Copied Icon – From here, you have the option to customize the icon of the copied button that will be visible after clicking the copy button.

Copy Error Text – From here, you can customize the button text if there is any error in copying text.

Syntax highlighter options

Line Number – From here, you can enable the Line Number toggle, to add a numbers in the code.

Line Highlight – From here, you can specify the line numbers you wish to highlight in the Line Highlight field.

Download Button – From here, you have the option to add a download button for downloading code from the syntax highlighter.

Button Icon – From here, you can add an image to the download button.

How to Add HTML Code in Syntax Highlighter

From the Language dropdown, you have to select HTML Markup.

In the Source Code field, you have to add the source code.

Html code in syntax highlighter

How to Add Basic Language Code in Syntax Highlighter

From the Language dropdown, you have to select Basic it will show in text format.

In the Source Code field, you have to add the source code.

Basic language code in syntax highlighter

How to Add C Language Code in Syntax Highlighter

From the Language dropdown, you have to select C.

In the Source Code field, you have to add the source code.

C language code in syntax highlighter

How to Add C# Code in Syntax Highlighter

From the Language dropdown, you have to select C#.

In the Source Code field, you have to add the source code.

C# code in syntax highlighter

How to Add C++ Code in Syntax Highlighter

From the Language dropdown, you have to select CPP.

In the Source Code field, you have to add the source code.

C++ code in syntax highlighter

How to Add CSS Code in Syntax Highlighter

From the Language dropdown, you have to select CSS.

In the Source Code field, you have to add the source code.

Css code in syntax highlighter

How to Add CSS Extra Code in Syntax Highlighter

From the Language dropdown, you have to select CSS Extra.

Note:  CSS is the standard language for styling web pages, controlling layout, fonts, colors, and more and CSS Extra refers to advanced CSS techniques, frameworks, or libraries that enhance standard CSS capabilities.

In the Source Code field, you have to add the source code.

Css extra code in syntax highlighter

How to Add Gcode in Syntax Highlighter

From the Language dropdown, you have to select Gcode.

In the Source Code field, you have to add the source code.

Gcode in syntax highlighter

How to Add Git Code in Syntax Highlighter

From the Language dropdown, you have to select Git.

In the Source Code field, you have to add the source code.

Image 1 syntax highlighter: settings overview from the plus addons for elementor

How to Add HTTP Code in Syntax Highlighter

From the Language dropdown, you have to select Http.

In the Source Code field, you have to add the source code.

Html code in syntax highlighter

How to Add Java Code in Syntax Highlighter

From the Language dropdown, you have to select Java.

In the Source Code field, you have to add the source code.

Html code in syntax highlighter

How to Add Java Doc Code in Syntax Highlighter

From the Language dropdown, you have to select Java Doc.

In the Source Code field, you have to add the source code.

Java doc code in syntax highlighter

How to Add Java Doc-Like Code in Syntax Highlighter

From the Language dropdown, you have to select Java Doc-Like.

In the Source Code field, you have to add the source code.

Java doc-like code in syntax highlighter

How to Add Javascript Code in Syntax Highlighter

From the Language dropdown, you have to select Javascript.

In the Source Code field, you have to add the source code.

Javascript code in syntax highlighter

How to Add JSDoc Code in Syntax Highlighter

From the Language dropdown, you have to select JSDoc.

In the Source Code field, you have to add the source code.

Jsdoc code in syntax highlighter

How to Add JSExtra Code in Syntax Highlighter

From the Language dropdown, you have to select JS Extra.

In the Source Code field, you have to add the source code.

Jsextra code in syntax highlighter

How to Add JS Templates Code in Syntax Highlighter

From the Language dropdown, you have to select JS Template.

In the Source Code field, you have to add the source code.

Js templates code in syntax highlighter

How to Add JSON Code in Syntax Highlighter

From the Language dropdown, you have to select Json.

In the Source Code field, you have to add the source code.

Json code in syntax highlighter

How to Add JSONP Code in Syntax Highlighter

From the Language dropdown, you have to select Jsonp.

In the Source Code field, you have to add the source code.

Jsonp code in syntax highlighter

How to Add JSON5 Code in Syntax Highlighter

From the Language dropdown, you have to select Json5.

In the Source Code field, you have to add the source code.

Json5 code in syntax highlighter

How to Add Perl Code in Syntax Highlighter

From the Language dropdown, you have to select Perl.

In the Source Code field, you have to add the source code.

Perl code in syntax highlighter

How to Add PHP Code in Syntax Highlighter

From the Language dropdown, you have to select Php.

In the Source Code field, you have to add the source code.

Php code in syntax highlighter

How to Add PHPDoc in Syntax Highlighter

From the Language dropdown, you have to select Phpdoc.

In the Source Code field, you have to add the source code.

Phpdoc in syntax highlighter

How to Add PHP Extra in Syntax Highlighter

From the Language dropdown, you have to select Php Extra.

In the Source Code field, you have to add the source code.

Php extra in syntax highlighter

How to Add Pl/SQL in Syntax Highlighter

From the Language dropdown, you have to select PL/SQL.

In the Source Code field, you have to add the source code.

Plsql in syntax highlighter

How to Add Python in Syntax Highlighter

From the Language dropdown, you have to select Python.

In the Source Code field, you have to add the source code.

Python in syntax highlighter

How to Add React in Syntax Highlighter

From the Language dropdown, you have to select React.

In the Source Code field, you have to add the source code.

React in syntax highlighter

How to Add Ruby in Syntax Highlighter

From the Language dropdown, you have to select Ruby.

In the Source Code field, you have to add the source code.

Ruby in syntax highlighter

How to Add SAS in Syntax Highlighter

From the Language dropdown, you have to select Sas.

In the Source Code field, you have to add the source code.

Sas in syntax highlighter

How to Add SASS in Syntax Highlighter

From the Language dropdown, you have to select Sass.

In the Source Code field, you have to add the source code.

Sass in syntax highlighter

How to Add SCSS in Syntax Highlighter

From the Language dropdown, you have to select Scss.

In the Source Code field, you have to add the source code.

Scss in syntax highlighter

How to Add Scheme in Syntax Highlighter

From the Language dropdown, you have to select Scheme.

In the Source Code field, you have to add the source code.

Scheme in syntax highlighter

How to Add SQL in Syntax Highlighter

From the Language dropdown, you have to select SQL.

In the Source Code field, you have to add the source code.

Sql-in-syntax-highlighter

How to Add VB.Net in Syntax Highlighter

From the Language dropdown, you have to select VB.Net.

In the Source Code field, you have to add the source code.

Vb. Net in syntax highlighter

How to Add Visual Basic in Syntax Highlighter

From the Language dropdown, you have to select Visual Basic.

In the Source Code field, you have to add the source code.

Visual basic in syntax highlighter

How to Add Wiki in Syntax Highlighter

From the Language dropdown, you have to select Wiki.

In the Source Code field, you have to add the source code.

Wiki in syntax highlighter

How to Add XQuery in Syntax Highlighter

From the Language dropdown, you have to select Xquery.

In the Source Code field, you have to add the source code.

Xquery in syntax highlighter

How to Style Syntax Highlighter Widget?

To style the Syntax Highlighter, you’ll find all the options in the Style tab.

Source Code –  From here, you can manage the source code style. You can add margin, and padding and add the height of the syntax highlighter.

Style syntax highlighter

Line Number – From here, you can manage the line number style. You can change the number color and border color.

Line Highlight – From here, you can manage the highlighted line style. You can change the background type.

Language Text – From here, you can manage the language text style. You can add margins, and padding and change the text color.

Copy/Download Button – From here, you can manage the copy/download button style. You can change the close button size, and color, and add a hover effect.

Scrolling Bar – From here, you can add a scrolling bar in syntax highlighter.

Note: To use the Scrolling Bar option you must have to add the Height from source code option.

Advanced options remain common for all our widgets, you can explore all its options from here.

View Advanced tab tutorial.

Syntax highlighter demo

About the Author

Photo of Aditya Sharma CMO of The Plus Addons for Elementor
CMO · The Plus Addons for Elementor · 10 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressElementorn8nAIClaudeAutomationServer
Get Instant Answers to all your questions about The Plus Addons for Elementor, trained on 1000+ Docs and Videos

Related Frequently Asked Questions

What are the key features of the Syntax Highlighter widget?

The Syntax Highlighter widget supports over 25 coding languages and allows users to customize the appearance of their code. Key features include multiple code themes, a copy-paste button, a download button, and the ability to highlight specific lines in the code. This flexibility enhances code presentation, making it easier to read and share.

How do I activate the Syntax Highlighter widget in Elementor?

To activate the Syntax Highlighter widget, navigate to The Plus Addons u2192 Widgets in your Elementor dashboard. Search for the Syntax Highlighter widget and turn on the toggle. This step is essential to ensure the widget is available for use on your pages.

What common mistakes do users make when setting up the Syntax Highlighter?

A common mistake is not activating the Syntax Highlighter widget after installation. Users may overlook this step, which prevents the widget from appearing in Elementor. Always ensure that the widget is activated in The Plus Addons u2192 Widgets section before trying to use it.

What settings work best for displaying code in the Syntax Highlighter?

For optimal display, choose a code theme that contrasts well with your website's background. Additionally, enabling line numbers can improve readability, especially for longer code snippets. Adjusting the alignment to center can also enhance the visual appeal of the code block.

Last reviewed: April 9, 2026