Skip to main content
Developer

Syntax Code Highlighter for Breakdance

A code block with syntax highlighting, line numbers and a copy button. Show code in tutorials and docs without another plugin.

5 styles Free Native Breakdance element No library needed

5 ways to style it

1MidnightThe default dark theme.
Midnight
functions.php php
<?php
// Add a custom class to the body element.
add_filter( 'body_class', function ( $classes ) {
	$classes[] = 'has-breakui';
	return $classes;
} );
2LightFor light sites.
Light
functions.php php
<?php
// Add a custom class to the body element.
add_filter( 'body_class', function ( $classes ) {
	$classes[] = 'has-breakui';
	return $classes;
} );
3DraculaA popular dark theme.
Dracula
functions.php php
<?php
// Add a custom class to the body element.
add_filter( 'body_class', function ( $classes ) {
	$classes[] = 'has-breakui';
	return $classes;
} );
4SolarizedWarm and easy on the eyes.
Solarized
functions.php php
<?php
// Add a custom class to the body element.
add_filter( 'body_class', function ( $classes ) {
	$classes[] = 'has-breakui';
	return $classes;
} );
5NordCool and calm.
Nord
functions.php php
<?php
// Add a custom class to the body element.
add_filter( 'body_class', function ( $classes ) {
	$classes[] = 'has-breakui';
	return $classes;
} );

In the editor

Syntax Code Highlighter element Content tab in the Breakdance editor
1 Content tab
Syntax Code Highlighter element Design tab in the Breakdance editor
2 Design tab

The main settings

Content tab

Your text, items, links and behavior.

Design tab

Colors, type, borders and layout.

Element Width

Percent, pixels or any unit, plus max, min and alignment.

Design
Spacing
Element Width
Get BreakUI ProFree, no account, no license key.
Download the plugin
Moniruzzaman Monir

Hire Monir

Available for new projects
What do you need?
Prefer to talk? Book a 30-min call