PHPackages                             cvette/neos-code-block - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cvette/neos-code-block

ActiveNeos-plugin[Utility &amp; Helpers](/categories/utility)

cvette/neos-code-block
======================

This package includes a node type to add code blocks with syntax highlighting to your Neos CMS project.

v2.0(8y ago)34451[1 issues](https://github.com/cvette/neos-code-block/issues)GPL-3.0+CSS

Since Apr 15Pushed 8y agoCompare

[ Source](https://github.com/cvette/neos-code-block)[ Packagist](https://packagist.org/packages/cvette/neos-code-block)[ RSS](/packages/cvette-neos-code-block/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/149aa18cc8389a4a211aa0197c41adaf772e2e9b68dc311d05eda18c105cbdf7/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f6e656f732d636f64652d626c6f636b2f762f737461626c65)](https://packagist.org/packages/cvette/neos-code-block)[![Total Downloads](https://camo.githubusercontent.com/08928297a2e5ac968a089ed61bc977b0a9875c19387e8f4b4c4fe9dd44de5ae3/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f6e656f732d636f64652d626c6f636b2f646f776e6c6f616473)](https://packagist.org/packages/cvette/neos-code-block)[![License](https://camo.githubusercontent.com/27910fa03a648b53f2458efb6b3af16502a0df32907966fddb2c28ac58c9f162/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f6e656f732d636f64652d626c6f636b2f6c6963656e7365)](https://packagist.org/packages/cvette/neos-code-block)

Code block Neos plugin
======================

[](#code-block-neos-plugin)

This plugin adds a nodetype that allows you to display blocks of code with syntax highlighting for a wide range of languages. The highlighing is done on the server-side by using the [GeSHi](http://qbnz.com/highlighter/) library.

You can set the language, toggle line numbers, set the starting line number and highlight single lines via the property editor.

Installation
------------

[](#installation)

`composer require cvette/neos-code-block`

Usage and custom styles
-----------------------

[](#usage-and-custom-styles)

The Codeblock node type works out-of-the-box by inlining the necessary CSS. If you want to customize the styling you can disable the inline CSS by setting the `inlineCss` path of the `Vette.CodeBlock:Geshi` prototype to `false`:

```
prototype(Vette.CodeBlock:Geshi) {
      inlineCss = false
}

```

Example CSS files can be found in `Resources/Public/Styles/`. Please refer to the [GeSHi documentation](http://qbnz.com/highlighter/geshi-doc.html#using-an-external-stylesheet) for more information.

License
-------

[](#license)

The GNU General Public License Version 3 (GPLv3). Please see [LICENSE](LICENSE) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~125 days

Total

4

Last Release

2986d ago

Major Versions

v1.2 → v2.02018-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9c271b08b8ccb3d1bab7fac14ef3d4fbb47e4528ef099a7d2ba961c5afa3f5e?d=identicon)[cvette](/maintainers/cvette)

---

Top Contributors

[![cvette](https://avatars.githubusercontent.com/u/6884391?v=4)](https://github.com/cvette "cvette (9 commits)")[![jonnitto](https://avatars.githubusercontent.com/u/4510166?v=4)](https://github.com/jonnitto "jonnitto (4 commits)")

---

Tags

highlightingneoscmsnodetype

### Embed Badge

![Health badge](/badges/cvette-neos-code-block/health.svg)

```
[![Health](https://phpackages.com/badges/cvette-neos-code-block/health.svg)](https://phpackages.com/packages/cvette-neos-code-block)
```

###  Alternatives

[sitegeist/kaleidoscope

Responsive-images for Neos

29364.3k11](/packages/sitegeist-kaleidoscope)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2541.8k](/packages/kaufmanndigital-gdpr-cookieconsent)[neos/seo

SEO configuration and tools for Neos

131.0M28](/packages/neos-seo)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21175.8k](/packages/techdivision-ckstyles)[sitegeist/taxonomy

Manage vocabularies and taxonomies as separate node-hierarchy.

1593.1k1](/packages/sitegeist-taxonomy)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

14101.5k6](/packages/shel-neos-colorpicker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
