Title: Code Block
Author: Jerome
Published: <strong>October 16, 2020</strong>
Last modified: October 16, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/code-block/assets/icon.svg?rev=2400671)

# Code Block

 By [Jerome](https://profiles.wordpress.org/jeromepaulos/)

[Download](https://downloads.wordpress.org/plugin/code-block.zip)

 * [Details](https://pcd.wordpress.org/plugins/code-block/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/code-block/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/code-block/#developers)

 [Support](https://wordpress.org/support/plugin/code-block/)

## Description

This plugin uses [Prism.js](https://prismjs.com) and a port of the beautiful Atom
One Dark code theme with the Fira Code font.

#### Features

 * Syntax highlighting
 * Tab support
 * Special glyphs for arrow functions, operators, etc
 * Nice interface
 * 17+ languages supported

#### Supported Languages

 * HTML
 * CSS
 * JavaScript
 * Python
 * PHP
 * Ruby
 * SCSS
 * C
 * C++
 * C#
 * Objective-C
 * TypeScript
 * Swift
 * Go
 * JSON
 * SQL
 * Bash

Want to contribute? Check out the [GitHub repository](https://github.com/jxxe/code-block).

## Screenshots

 * [[
 * The editor block
 * [[
 * The result

## Blocks

This plugin provides 1 block.

 *   Code Block

## FAQ

### What if [insert favorite langauge] isn’t supported?

I’ve tried my best to include the some of the most common programming languages,
but there’s a change that yours isn’t supported! There are two things you could 
try. First, many programming langauge syntaxes are very similar. Play around with
different languages and see if any produce a good enough result. Give a member of
the C family a try. Alternatively, you can fork the repository on GitHub and add
it yourself. As long as there’s enough demand and Prism.js supports it, you should
be good to go!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Code Block” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Jerome ](https://profiles.wordpress.org/jeromepaulos/)

[Translate “Code Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/code-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/code-block/), check
out the [SVN repository](https://plugins.svn.wordpress.org/code-block/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/code-block/) by 
[RSS](https://plugins.trac.wordpress.org/log/code-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

1.0 – Initial Release

## Meta

 *  Version **1.0**
 *  Last updated **5 years ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.5.18**
 *  Language
 * [English (US)](https://wordpress.org/plugins/code-block/)
 * Tags
 * [code](https://pcd.wordpress.org/plugins/tags/code/)[format](https://pcd.wordpress.org/plugins/tags/format/)
   [formatter](https://pcd.wordpress.org/plugins/tags/formatter/)[Highlight](https://pcd.wordpress.org/plugins/tags/highlight/)
   [syntax](https://pcd.wordpress.org/plugins/tags/syntax/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/code-block/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/code-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/code-block/reviews/)

## Contributors

 *   [ Jerome ](https://profiles.wordpress.org/jeromepaulos/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/code-block/)