Overview#

Prism adds a new field type called "Prism Syntax Highlighter", which 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 Matrix & Super Table
  • Works with Live Preview

Previous ← Configuration