Prism Syntax Highlighting icon

Prism Syntax Highlighting

This plugin is no longer maintained. The developer recommends using Prism instead.
Plugin screenshot thumbnail 1/5
Plugin screenshot thumbnail 2/5
Plugin screenshot thumbnail 3/5
Plugin screenshot thumbnail 4/5
Plugin screenshot thumbnail 5/5

This plugin enables a new field type called "Prism Syntax Highlighter" within the control panel. When used in an entry, a code block will appear and you can enter highlighted text from a choice of over ~170 different languages.

Code blocks are fully themeable, and it includes all of Prism's default themes. Additional themes can also be added by configuring them in the settings area. You can even have multiple themes and languages running at once!

Features:

  • Syntax highlighting in realtime
  • Over 170 different supported syntaxes
  • Ships with 8 default themes, and supports adding custom themes
  • Line numbers
  • Configurable tab widths and editor height
  • Shortcut keys (indentation and undo/redo)
  • Support for Matrices & Supertables
  • Works with Live Preview

Coming soon:

  • Redactor support. Insert code blocks within your content
  • Automatic rendering on the front end (including styles + scripts)
Installation Instructions

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

Reviews

This plugin doesn't have any reviews.

Active Installs
21
Version
1.0.5
License
Craft
Compatibility
Craft 3
Last release
September 14, 2020
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs