verbb/prism

Adds a new field type that provides syntax highlighting capabilities using PrismJS.

Fund package maintenance!
verbb

Installs: 1 000

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 3

Open Issues: 0

Type:craft-plugin

4.0.0-beta.1 2024-03-04 09:30 UTC

This package is auto-updated.

Last update: 2024-04-20 00:55:39 UTC


README

Prism icon

Prism for Craft CMS

Prism is a Craft CMS plugin to provide syntax highlighting capabilities using prism.js.

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

Documentation

Visit the Prism Plugin page for all documentation, guides, pricing and developer resources.

Credit & Thanks

Originally created by Josh Smith me@joshsmith.dev.

Support

Get in touch with us via the Prism Support page or by creating a Github issue

Sponsor

Prism is licensed under the MIT license, meaning it will always be free and open source – we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.

68747470733a2f2f76657262622e696f2f6173736574732f696d672f76657262622d70696c6c2e737667