Plugin screenshot thumbnail 1/1

Prism gives Craft authors a code field that looks and behaves like code. Edit with live syntax highlighting, useful keyboard controls, and project-selected languages and themes, then render the stored source on the front end.

Choose from a broad language library and see syntax highlighting as the author types. Line numbers, indentation shortcuts, undo and redo, configurable tab width, and editor height make the field suitable for more than a one-line snippet.

Features

  • See language-aware syntax colour while editing the value.
  • Support a wide range of programming and markup syntaxes.
  • Choose a bundled presentation or provide one tailored to the site.
  • Give longer examples a familiar code-editor reference.
  • Indent and undo without fighting a plain textarea.
Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
59
Version
4.0.7
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
October 7, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs