verbb / prism
Adds a new field type that provides syntax highlighting capabilities using PrismJS.
Fund package maintenance!
verbb
Installs: 1 182
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 3
Open Issues: 0
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- verbb/base: ^3.0.0
Requires (Dev)
- prismjs/prism: ^1.16
This package is auto-updated.
Last update: 2024-12-11 01:29:08 UTC
README
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.