The only 3-in-1 syntax highlighter!
Display beautiful code snippets with Prism.js, Highlight.js, or plain code escaping:
- Prism.js – Code escape + syntax highlight using Prism.js
- Highlight.js – Code escape + syntax highlight using Highlight.js
- Plain Flavor – Code escape without syntax highlight
Check out a demo post using Highlight.js. I also use this plugin at WP-Mix and Plugin Planet for all code snippets 🙂
Prism.js Features
- Supports 60+ coding languages
- Choose from all 8 available Prism themes
- Provides a Gutenberg block for adding code snippets
- Provides TinyMCE/Visual buttons for adding code snippets
- Option to enable Prism plugin Line Numbers
- Option to enable Prism plugin Line Highlight
- Option to enable Prism plugin Show Language
- Option to enable Prism plugin Copy Code Button
- Option to enable Prism plugin Command Line
- Highlights code in post content, excerpts, and comments
- Detects
language-andlang-class prefixes - Limit syntax highlighting to Posts and Pages
- Highlight single-line and multi-line code
- Granular control over code escaping
- Smart loading of CSS & JS assets
- Support for ACF on single post views
Highlight.js Features
- Supports 50+ coding languages
- Choose from all 90+ available Highlight themes
- Provides a Gutenberg block for adding code snippets
- Provides TinyMCE/Visual buttons for adding code snippets
- Customize the Highlight.js init JavaScript
- Highlights code in post content, excerpts, and comments
- Limit syntax highlighting to Posts and Pages
- Highlight multi-line blocks of code
- Detects
language-andlang-class prefixes - Enable support for no-prefix class names
- Granular control over code escaping
- Smart loading of CSS & JS assets
Plain Flavor Features
- Enable code escaping for post content, excerpts, and/or comments
- Enable code escaping on the frontend, Admin Area, or both
- Provides a Gutenberg block for adding code snippets
- Provides TinyMCE/Visual buttons for adding code snippets
- Escapes single-line and multi-line code snippets
- Escapes
<code>tags (based on configuration)
General Features
- Easy to set up and use
- Built with WordPress APIs
- Born of simplicity, no frills
- Squeaky clean, error-free code
- Leggero, veloce e flessibile
- Focused on performance and security
- Loads CSS/JS assets only when required
- Adheres to HTML coding best practices
- Works with the Gutenberg Block Editor
- Aggiornato con regolarità e “a prova di aggiornamenti”
Prismatic escapes only the essentials to keep your code clean.
Check out the screenshots for more details!
Privacy
Questo plugin non raccoglie o conserva alcun dato dell’utente. Non imposta alcun cookie e non si collega a nessun servizio di terze parti. Per questo motivo, questo plugin non influisce sulla privacy dell’utente in nessun modo.
Prismatic is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.
Supporta lo sviluppo
Sviluppo e mantengo con dedizione questo plugin gratuito per la comunità di WordPress. Puoi dare il tuo contributo facendo una donazione o acquistando uno dei miei libri:
- The Tao of WordPress
- Digging into WordPress
- .htaccess made easy
- WordPress Themes In Depth
- Wizard’s SQL Recipes for WordPress
E/o acquista uno dei miei plugin premium per WordPress:
- BBQ Pro – Blazing fast WordPress firewall
- Blackhole Pro – Blocca automaticamente bot dannosi
- Banhammer Pro – Tieni d’occhio il traffico e allontana i cattivi (blocca gli accessi sospetti)
- GA Google Analytics Pro – Connetti WordPress a Google Analytics
- Head Meta Pro – Meta Tag per WordPress definitivo
- Simple Ajax Chat Pro – Chat room illimitate
- USP Pro – Form front-end illimitati
Links, tweets and likes also appreciated. Thank you! 🙂
