---
category: api-reference
---

# CKEditor 5 code block feature

[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-code-block.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-highlight)

This package implements the code block feature for CKEditor 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

```
npm install --save @ckeditor/ckeditor5-code-block
```

## Contribute

The source code of this package is available on GitHub in 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-code-block/blob/master/CHANGELOG.md)
