---
title: "Introduction"
manual: "Beauty of Code"
version: "main"
permalink: "https://docs.typo3.org/permalink/fnagel/beautyofcode:introduction@main"
source: "Introduction/Index.rst"
rendered: "2026-11-14T15:27:10+00:00"
---

# Introduction {#introduction}

## What does it do? {#what-it-does}

This plugin provides state-of-the-art syntax highlighting by using JavaScript plugins:

-   [PrismSyntaxHighlighter](http://prismjs.com/) written by Lea Verou
-   SyntaxHighlighting 3 written by Alex Gorbatchev

Use the constant editor or TS to define needed programming languages. These
will be available in the FE plugin which needs to be added as a generic FE
plugin (“insert plugin”). Each of this languages is a lazy-loaded (after the
page has finished loading) Java-Script file. You can define different css
styles (so called themes) and HTML templates to match your page design.

The following programming languages are available:

### SyntaxHighlighter {#syntaxhighlighter}

Actionscript 3, Bash, Shell,  ColdFusion, C, C++, C#, CSS, Delphi, Pas, Pascal,
Diff, Patch, Erlang, Groovy,  Java, Java FX, Java-Script, Perl, PHP, Power-Shell,
Python, Ruby on Rails, Sass, Scala, SQL, Typoscript, MySQL, Virtual Basic, .Net, XML,
XSLT, XHTML and HTML.

The newly added TypoScript brush is based upon a [user language for Notepad++](http://sourceforge.net/tracker/?func=detail&aid=2839067&group_id=95717&atid=612385).

### Prism {#prism}

ActionScript 3, AppleScript, ApacheConf, Bash, C, C-Like, Coffeescript, C++, C#, CSS, Diff, Erlang, Gherkin, Git, Go,
Groovy, HTTP, Java, JavaScript, Less, Markdown, Markup (HTML/XML, etc.), PHP, Power-Shell, Python, Ruby, Sass, Scala,
SCSS, SQL, Twig, TypoScript and Yaml.

## Features {#features}

-   Highlight specific lines
-   Show Gutter
-   Customizable tab size \*
-   Configurable label
-   Collapse code \*
-   Wrap lines \*
-   Preview and t3editor support in BE
-   Use HTML templating
-   Different visual styles
-   Show sourcecode from a local file or an external URL

\* unavailable if using prism

## Live Demo {#live-demo}

[ext:beautyofcode Live Demo](https://www.felixnagel.com/blog/permalink/175/)

*Please help me to add more sites here:* [contact me](https://www.felixnagel.com/contact/)!

## SyntaxHighlighter {#syntaxhighlighter-1}

SyntaxHighlighter 3.0 by Alex Gorbatchev, which does the actually
highlighting, is the nicest syntax highlighter I've seen so far and it's also
used by Freshbooks, ASP .Net Forums, wordpress.com, Aptana, Mozilla Developer
Center, SitePoint and Yahoo Developer Network. It is coded in native
JavaScript but sadly it is no longer under active development.

Please see [https://github.com/syntaxhighlighter/syntaxhighlighter](https://github.com/syntaxhighlighter/syntaxhighlighter) for more information.

## Prism {#prism-1}

Prism is a lightweight, extensible syntax highlighter, built with modern web
standards in mind. It's a spin-off from Dabblet and is tested there daily by
thousands.

See [http://prismjs.com/](http://prismjs.com/) for more information.

## Screenshots {#screenshots}

See highlighter project website for possible frontend look.

![Content element screenshot](../Images/Screenshots/ContentElement.png)

![Content element options tab screenshot](../Images/Screenshots/ContentElementTab2.png)

![Backend layout screenshot](../Images/Screenshots/BackendLayout.png)
