WP Manifestindependent plugin directory
manifest / editor / prismpress

PrismPress

A gutenberg block for displaying code blocks which utilise Prism.js

by Jack Whitworth · github.com/jmwhitworth/prismpress · website

2stars
38release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/jmwhitworth/prismpress/releases/download/v1.4.0/prismpress.zip

From the readme

PrismPress PrismPress is a WordPress plugin that adds a new Gutenberg block for display syntax-highlighted code powered on the front-end by Prism.js, and powered in the editor by CodeMirror. Installation On Github, download the package from the latest release. This will be called prismpress.zip. You can then upload this file directly to your WordPress installation and activate the plugin. How to use With the plugin installed and activated, edit a post with the Gutenberg editor. When adding a new block, you can then select the Prism Code block: All content is added and managed via the 'Block settings' menu on the right-hand side and NOT in the block preview itself. This is due to the way Prism.js rewrites the structure of the markup, editing the text within the block isn't reliable so this resolves that issue. Final result: Prism.js information Prism.js details: - Version: 1.29.0 - Theme: - Okaidia - Language support: - Markup (HTML + XML + SVG + MathML + SSML + Atom + RSS) - CSS - C-like - Javascript - Bash + Shell - Docker - JSON - Markup templating - PHP - Python - YAML - Prism.js Plugins: - Line numbers - Show language - Toolbar - Copy

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.4.0 Jul 17, 2025 prismpress.zip 5
v1.3.2 Nov 11, 2024 prismpress.zip 9
v1.3.1 Oct 3, 2024 prismpress.zip 18
v1.3.0 Oct 2, 2024
v1.2.4 Feb 14, 2024
v1.2.3 Feb 14, 2024
v1.2.1 Jan 15, 2024 PrismPress-1.2.1.zip 5
v1.2.0 Jan 12, 2024 PrismPress-1.2.0.zip 1
v1.1.0 Jan 11, 2024
v1.0.0 Dec 12, 2023