---
category: api-reference
---

# CKEditor&nbsp;5 code block feature

This package implements the code block feature for CKEditor&nbsp;5.

## Demo

Check out the {@link features/code-blocks#demo demo in the code block feature guide}.

## Documentation

See the {@link features/code-blocks code block feature guide} and the {@link module:code-block/codeblock~CodeBlock} plugin documentation.

## Installation

This package is part of our open-source aggregate package.

```bash
npm install ckeditor5
```

## Contribute

The source code of this package is available on GitHub in [https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-code-block](https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-code-block).

## External links

* [`@ckeditor/ckeditor5-code-block` on npm](https://www.npmjs.com/package/@ckeditor/ckeditor5-code-block)
* [`ckeditor/ckeditor5-code-block` on GitHub](https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-code-block)
* [Issue tracker](https://github.com/ckeditor/ckeditor5/issues)
* [Changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md)
