{"id":51728,"date":"2016-10-24T17:20:42","date_gmt":"2016-10-24T17:20:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/prismatic\/"},"modified":"2026-03-11T17:33:14","modified_gmt":"2026-03-11T17:33:14","slug":"prismatic","status":"publish","type":"plugin","link":"https:\/\/ve.wordpress.org\/plugins\/prismatic\/","author":43799,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.7.4","stable_tag":"3.7.4","tested":"7.0","requires":"4.7","requires_php":"5.6.20","requires_plugins":null,"header_name":"Prismatic","header_author":"Jeff Starr","header_description":"","assets_banners_color":"978f79","last_updated":"2026-03-11 17:33:14","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/monzillamedia.com\/donate.html","header_plugin_uri":"https:\/\/perishablepress.com\/prismatic\/","header_author_uri":"https:\/\/plugin-planet.com\/","rating":4.8,"author_block_rating":0,"active_installs":2000,"downloads":120089,"num_ratings":45,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"specialk","date":"2017-05-20 23:58:35"},"1.4":{"tag":"1.4","author":"specialk","date":"2017-08-05 19:47:50"},"1.5":{"tag":"1.5","author":"specialk","date":"2017-11-02 17:53:48"},"1.6":{"tag":"1.6","author":"specialk","date":"2018-05-08 19:22:45"},"1.6.1":{"tag":"1.6.1","author":"specialk","date":"2018-05-08 19:22:45"},"1.7":{"tag":"1.7","author":"specialk","date":"2018-08-18 01:05:29"},"1.8":{"tag":"1.8","author":"specialk","date":"2018-11-15 01:17:00"},"1.9":{"tag":"1.9","author":"specialk","date":"2019-02-20 21:07:58"},"2.0":{"tag":"2.0","author":"specialk","date":"2019-03-19 00:29:22"},"2.1":{"tag":"2.1","author":"specialk","date":"2019-04-29 20:21:43"},"2.2":{"tag":"2.2","author":"specialk","date":"2019-08-19 21:01:30"},"2.3":{"tag":"2.3","author":"specialk","date":"2019-11-12 19:01:35"},"2.4":{"tag":"2.4","author":"specialk","date":"2020-03-25 19:59:45"},"2.5":{"tag":"2.5","author":"specialk","date":"2020-08-08 00:57:23"},"2.6":{"tag":"2.6","author":"specialk","date":"2020-11-12 00:10:24"},"2.7":{"tag":"2.7","author":"specialk","date":"2021-02-10 20:30:14"},"2.8":{"tag":"2.8","author":"specialk","date":"2021-06-19 17:59:30"},"2.9":{"tag":"2.9","author":"specialk","date":"2021-07-16 21:26:37"},"2.9.1":{"tag":"2.9.1","author":"specialk","date":"2021-07-20 21:16:02"},"3.0":{"tag":"3.0","author":"specialk","date":"2022-01-15 22:59:18"},"3.1":{"tag":"3.1","author":"specialk","date":"2022-05-16 21:36:14"},"3.1.1":{"tag":"3.1.1","author":"specialk","date":"2022-05-26 22:43:49"},"3.2":{"tag":"3.2","author":"specialk","date":"2022-09-27 22:11:12"},"3.2.1":{"tag":"3.2.1","author":"specialk","date":"2022-09-29 05:20:05"},"3.2.2":{"tag":"3.2.2","author":"specialk","date":"2022-10-08 22:04:53"},"3.3":{"tag":"3.3","author":"specialk","date":"2023-02-28 00:23:49"},"3.4":{"tag":"3.4","author":"specialk","date":"2023-07-11 22:42:01"},"3.4.1":{"tag":"3.4.1","author":"specialk","date":"2023-10-25 21:20:39"},"3.4.2":{"tag":"3.4.2","author":"specialk","date":"2024-03-03 00:34:22"},"3.4.3":{"tag":"3.4.3","author":"specialk","date":"2024-06-20 22:51:02"},"3.4.4":{"tag":"3.4.4","author":"specialk","date":"2024-10-09 22:09:10"},"3.5":{"tag":"3.5","author":"specialk","date":"2025-03-21 18:11:12"},"3.6":{"tag":"3.6","author":"specialk","date":"2025-11-17 15:37:28"},"3.7":{"tag":"3.7","author":"specialk","date":"2026-01-30 15:25:31"},"3.7.1":{"tag":"3.7.1","author":"specialk","date":"2026-02-04 16:04:19"},"3.7.2":{"tag":"3.7.2","author":"specialk","date":"2026-02-13 23:41:17"},"3.7.3":{"tag":"3.7.3","author":"specialk","date":"2026-03-10 21:57:09"},"3.7.4":{"tag":"3.7.4","author":"specialk","date":"2026-03-11 17:33:14"}},"upgrade_notice":{"":"<p>Visit the WordPress Plugins screen, locate the plugin, and click &quot;Update&quot; :)<\/p>"},"ratings":{"1":2,"2":0,"3":1,"4":0,"5":42},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1521267,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1521267,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1521267,"resolution":"1544x500","location":"assets","locale":""},"banner-1880x609.jpg":{"filename":"banner-1880x609.jpg","revision":1521267,"resolution":"1880x609","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1521267,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"prismatic\/blocks":{"name":"prismatic\/blocks","title":"Prismatic"}},"tagged_versions":["1.3","1.4","1.5","1.6","1.6.1","1.7","1.8","1.9","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.9.1","3.0","3.1","3.1.1","3.2","3.2.1","3.2.2","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.5","3.6","3.7","3.7.1","3.7.2","3.7.3","3.7.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1521267,"resolution":"1","location":"assets","locale":""},"screenshot-10.jpg":{"filename":"screenshot-10.jpg","revision":2142173,"resolution":"10","location":"assets","locale":""},"screenshot-11.jpg":{"filename":"screenshot-11.jpg","revision":2142173,"resolution":"11","location":"assets","locale":""},"screenshot-12.jpg":{"filename":"screenshot-12.jpg","revision":2142173,"resolution":"12","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":1521267,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":1521267,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":1521267,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":1521267,"resolution":"5","location":"assets","locale":""},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":1521267,"resolution":"6","location":"assets","locale":""},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":1521267,"resolution":"7","location":"assets","locale":""},"screenshot-8.jpg":{"filename":"screenshot-8.jpg","revision":1521267,"resolution":"8","location":"assets","locale":""},"screenshot-9.jpg":{"filename":"screenshot-9.jpg","revision":2142173,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"Prismatic General Settings","2":"Prismatic Prism.js Settings","3":"Prismatic Highlight.js Settings","4":"Prismatic Plain Flavor Settings","5":"Prism.js : Twilight theme (choose from 7 Prism.js themes!)","6":"Highlight.js : Arduino Light theme (choose from 77 Highlight.js themes!)","7":"Highlight.js : Gruvbox Dark theme (choose from 77 Highlight.js themes!)","8":"Cleanly escaped code without syntax highlighting (Plain Flavor)","9":"Gutenberg Prismatic block (under Formatting menu)","10":"Prismatic block showing added code and language select","11":"Prismatic TinyMCE\/Visual button for adding code snippets","12":"Prismatic TinyMCE panel showing added code and selected language"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,3986,1385,240398,2207],"plugin_category":[48,59],"plugin_contributors":[78204],"plugin_business_model":[],"class_list":["post-51728","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-highlight","plugin_tags-language","plugin_tags-snippets","plugin_tags-syntax","plugin_category-language-tools","plugin_category-utilities-and-tools","plugin_contributors-specialk","plugin_committers-specialk"],"banners":{"banner":"https:\/\/ps.w.org\/prismatic\/assets\/banner-772x250.jpg?rev=1521267","banner_2x":"https:\/\/ps.w.org\/prismatic\/assets\/banner-1544x500.jpg?rev=1521267","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/prismatic\/assets\/icon-128x128.png?rev=1521267","icon_2x":"https:\/\/ps.w.org\/prismatic\/assets\/icon-256x256.png?rev=1521267","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-1.jpg?rev=1521267","caption":"Prismatic General Settings"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-2.jpg?rev=1521267","caption":"Prismatic Prism.js Settings"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-3.jpg?rev=1521267","caption":"Prismatic Highlight.js Settings"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-4.jpg?rev=1521267","caption":"Prismatic Plain Flavor Settings"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-5.jpg?rev=1521267","caption":"Prism.js : Twilight theme (choose from 7 Prism.js themes!)"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-6.jpg?rev=1521267","caption":"Highlight.js : Arduino Light theme (choose from 77 Highlight.js themes!)"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-7.jpg?rev=1521267","caption":"Highlight.js : Gruvbox Dark theme (choose from 77 Highlight.js themes!)"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-8.jpg?rev=1521267","caption":"Cleanly escaped code without syntax highlighting (Plain Flavor)"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-9.jpg?rev=2142173","caption":"Gutenberg Prismatic block (under Formatting menu)"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-10.jpg?rev=2142173","caption":"Prismatic block showing added code and language select"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-11.jpg?rev=2142173","caption":"Prismatic TinyMCE\/Visual button for adding code snippets"},{"src":"https:\/\/ps.w.org\/prismatic\/assets\/screenshot-12.jpg?rev=2142173","caption":"Prismatic TinyMCE panel showing added code and selected language"}],"raw_content":"<!--section=description-->\n<p><strong>Display Beautiful Code<\/strong><\/p>\n\n<p>Display beautiful code snippets with Prism.js, Highlight.js, or plain code escaping:<\/p>\n\n<ul>\n<li><strong>Prism.js<\/strong>     - Code escape + syntax highlight using <a href=\"https:\/\/prismjs.com\/\">Prism.js<\/a><\/li>\n<li><strong>Highlight.js<\/strong> - Code escape + syntax highlight using <a href=\"https:\/\/highlightjs.org\/\">Highlight.js<\/a><\/li>\n<li><strong>Plain Flavor<\/strong> - Code escape without syntax highlighting<\/li>\n<\/ul>\n\n<blockquote>\n  <p>\ud83d\udc49 The only 3-in-1 syntax highlighter!<\/p>\n<\/blockquote>\n\n<p><strong>Live Examples<\/strong><\/p>\n\n<p>Here are some live examples showing Prismatic displaying colorful code snippets:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/plugin-planet.com\/usp-pro-support-additional-file-types\/\">PHP highlighting<\/a><\/li>\n<li><a href=\"https:\/\/perishablepress.com\/all-css-filter-functions\/\">CSS highlighting<\/a><\/li>\n<li><a href=\"https:\/\/perishablepress.com\/vanilla-javascript-add-class-to-image-links\/\">JavaScript highlighting<\/a><\/li>\n<li><a href=\"https:\/\/wp-mix.com\/html5-starter-template\/\">HTML highlighting<\/a><\/li>\n<li><a href=\"https:\/\/digwp.com\/2019\/07\/better-inline-script\/\">Escaped code without highlighting<\/a><\/li>\n<\/ul>\n\n<p>Prismatic is used to display thousands of code snippets on the above sites. Also here is a post showing some <a href=\"https:\/\/dev-tricks.com\/favorite-highlight-js-styles\/\">favorite Highlight.js styles<\/a> :)<\/p>\n\n<p><strong>Prism.js Features<\/strong><\/p>\n\n<ul>\n<li>Supports <strong>60+<\/strong> coding languages<\/li>\n<li>Choose from all <strong>8<\/strong> available Prism themes<\/li>\n<li>Provides a Gutenberg block for adding code snippets<\/li>\n<li>Provides TinyMCE\/Visual buttons for adding code snippets<\/li>\n<li>Option to enable Prism plugin <a href=\"https:\/\/prismjs.com\/plugins\/line-numbers\/\">Line Numbers<\/a><\/li>\n<li>Option to enable Prism plugin <a href=\"https:\/\/prismjs.com\/plugins\/line-highlight\/\">Line Highlight<\/a><\/li>\n<li>Option to enable Prism plugin <a href=\"https:\/\/prismjs.com\/plugins\/show-language\/\">Show Language<\/a><\/li>\n<li>Option to enable Prism plugin <a href=\"https:\/\/prismjs.com\/plugins\/copy-to-clipboard\/\">Copy Code Button<\/a><\/li>\n<li>Option to enable Prism plugin <a href=\"https:\/\/prismjs.com\/plugins\/command-line\/\">Command Line<\/a><\/li>\n<li>Highlights code in post content, excerpts, and comments<\/li>\n<li>Detects <code>language-<\/code> and <code>lang-<\/code> class prefixes<\/li>\n<li>Limit syntax highlighting to Posts and Pages<\/li>\n<li>Highlight single-line and multi-line code<\/li>\n<li>Granular control over code escaping<\/li>\n<li>Smart loading of CSS &amp; JS assets<\/li>\n<li>Support for ACF on single post views<\/li>\n<\/ul>\n\n<p><strong>Highlight.js Features<\/strong><\/p>\n\n<ul>\n<li>Supports <strong>50+<\/strong> coding languages<\/li>\n<li>Choose from all <strong>90+<\/strong> available Highlight themes<\/li>\n<li>Provides a Gutenberg block for adding code snippets<\/li>\n<li>Provides TinyMCE\/Visual buttons for adding code snippets<\/li>\n<li>Customize the Highlight.js init JavaScript<\/li>\n<li>Highlights code in post content, excerpts, and comments<\/li>\n<li>Limit syntax highlighting to Posts and Pages<\/li>\n<li>Highlight multi-line blocks of code<\/li>\n<li>Detects <code>language-<\/code> and <code>lang-<\/code> class prefixes<\/li>\n<li>Enable support for no-prefix class names<\/li>\n<li>Granular control over code escaping<\/li>\n<li>Smart loading of CSS &amp; JS assets<\/li>\n<\/ul>\n\n<p><strong>Plain Flavor Features<\/strong><\/p>\n\n<ul>\n<li>Enable code escaping for post content, excerpts, and\/or comments<\/li>\n<li>Enable code escaping on the frontend, Admin Area, or both<\/li>\n<li>Provides a Gutenberg block for adding code snippets<\/li>\n<li>Provides TinyMCE\/Visual buttons for adding code snippets<\/li>\n<li>Escapes single-line and multi-line code snippets<\/li>\n<li>Escapes <code>&lt;code&gt;<\/code> tags (based on configuration)<\/li>\n<\/ul>\n\n<p><strong>General Features<\/strong><\/p>\n\n<ul>\n<li>Easy to set up and use<\/li>\n<li>Built with WordPress APIs<\/li>\n<li>Born of simplicity, no frills<\/li>\n<li>Squeaky clean, error-free code<\/li>\n<li>Lightweight, fast and flexible<\/li>\n<li>Focused on performance and security<\/li>\n<li>Loads CSS\/JS assets only when required<\/li>\n<li>Adheres to HTML coding best practices<\/li>\n<li>Works with the Gutenberg Block Editor<\/li>\n<li>Regularly updated and \"future proof\"<\/li>\n<\/ul>\n\n<blockquote>\n  <p>\ud83d\udc49 Prismatic escapes only the essentials to keep your code clean.<\/p>\n  \n  <p>\ud83d\udc49 <a href=\"https:\/\/wordpress.org\/plugins\/prismatic\/#screenshots\">Check out the screenshots<\/a> for more details!<\/p>\n<\/blockquote>\n\n<p><strong>Privacy<\/strong><\/p>\n\n<p>This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.<\/p>\n\n<p>Prismatic is developed and maintained by <a href=\"https:\/\/x.com\/perishable\">Jeff Starr<\/a>, 15-year <a href=\"https:\/\/plugin-planet.com\/\">WordPress developer<\/a> and <a href=\"https:\/\/books.perishablepress.com\/\">book author<\/a>.<\/p>\n\n<p><strong>Support development<\/strong><\/p>\n\n<p>I develop and maintain this free plugin with love for the WordPress community. To show support, you can <a href=\"https:\/\/monzillamedia.com\/donate.html\">make a donation<\/a> or purchase one of my books:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wp-tao.com\/\">The Tao of WordPress<\/a><\/li>\n<li><a href=\"https:\/\/digwp.com\/\">Digging into WordPress<\/a><\/li>\n<li><a href=\"https:\/\/htaccessbook.com\/\">.htaccess made easy<\/a><\/li>\n<li><a href=\"https:\/\/wp-tao.com\/wordpress-themes-book\/\">WordPress Themes In Depth<\/a><\/li>\n<li><a href=\"https:\/\/books.perishablepress.com\/downloads\/wizards-collection-sql-recipes-wordpress\/\">Wizard's SQL Recipes for WordPress<\/a><\/li>\n<\/ul>\n\n<p>And\/or purchase one of my premium WordPress plugins:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/plugin-planet.com\/bbq-pro\/\">BBQ Pro<\/a> - Blazing fast WordPress firewall<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/blackhole-pro\/\">Blackhole Pro<\/a> - Automatically block bad bots<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/banhammer-pro\/\">Banhammer Pro<\/a> - Monitor traffic and ban the bad guys<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/ga-google-analytics-pro\/\">GA Google Analytics Pro<\/a> - Connect WordPress to Google Analytics<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/head-meta-pro\/\">Head Meta Pro<\/a> - Ultimate Meta Tags for WordPress<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/simple-ajax-chat-pro\/\">Simple Ajax Chat Pro<\/a> - Unlimited chat rooms<\/li>\n<li><a href=\"https:\/\/plugin-planet.com\/usp-pro\/\">USP Pro<\/a> - Unlimited front-end forms<\/li>\n<\/ul>\n\n<p>Links, tweets and likes also appreciated. Thank you! :)<\/p>\n\n<!--section=installation-->\n<p><strong>Installing Prismatic<\/strong><\/p>\n\n<ol>\n<li>Make a backup of your database<\/li>\n<li>Upload the plugin to your blog and activate<\/li>\n<li>Visit the plugin settings to configure options<\/li>\n<\/ol>\n\n<p><a href=\"https:\/\/wordpress.org\/documentation\/article\/manage-plugins\/#installing-plugins-1\">More info on installing WP plugins<\/a><\/p>\n\n<p><strong>Quick Start Guide<\/strong><\/p>\n\n<p>Here is a quick guide to get started with Prismatic:<\/p>\n\n<ol>\n<li>Activate the plugin and visit the Prismatic settings page<\/li>\n<li>Choose Prism.js or Highlight.js for syntax highlighting<\/li>\n<li>Optionally visit the Prism.js or Highlight.js tab to customize options<\/li>\n<\/ol>\n\n<p>You are now ready to go. To add a code snippet to any WP Post or Page:<\/p>\n\n<ul>\n<li>If using Gutenberg Block Editor, click on the Prismatic block<\/li>\n<li>If using Classic Editor, click on the Prismatic TinyMCE button<\/li>\n<\/ul>\n\n<p>To get a better idea, view the screenshots on the <a href=\"https:\/\/wordpress.org\/plugins\/prismatic\/#screenshots\">Prismatic homepage<\/a>.<\/p>\n\n<p>The Prismatic block or button makes it easy to add your code snippet and choose a language. The plugin automatically will output the correct markup to display your code with syntax highlighting. No code editing required!<\/p>\n\n<p><strong>Add code via block for Highlight.js<\/strong><\/p>\n\n<p>When Highlight.js library is enabled in Prismatic plugin settings:<\/p>\n\n<ol>\n<li>When creating your post or page, select the Prismatic block<\/li>\n<li>Enter your code in the provided input field<\/li>\n<li>In block settings, select code language from the dropdown menu<\/li>\n<li>Optional: in block settings under Advanced tab, add extra CSS classes<\/li>\n<\/ol>\n\n<p><strong>Add code via block for Prism.js<\/strong><\/p>\n\n<p>When Prism.js library is enabled in Prismatic plugin settings:<\/p>\n\n<ol>\n<li>When creating your post or page, select the Prismatic block<\/li>\n<li>Enter your code in the provided input field<\/li>\n<li>In block settings, select code language from the dropdown menu<\/li>\n<li>Optional: in block settings under Advanced tab, add extra CSS classes<\/li>\n<li>Optional: in block settings, enter any line numbers to be highlighted<\/li>\n<\/ol>\n\n<p><strong>Add code via Classic Editor<\/strong><\/p>\n\n<p>When any library is enabled in Prismatic plugin settings:<\/p>\n\n<ol>\n<li>When creating your post or page, switch to the Visual Editor<\/li>\n<li>Click the Prismatic Quicktag button in the Toolbar, looks like &lt;&gt;<\/li>\n<li>Enter your code in the provided input field<\/li>\n<\/ol>\n\n<p><strong>Complete usage documentation<\/strong><\/p>\n\n<p>Learn more about Prismatic. Check out the <a href=\"https:\/\/plugin-planet.com\/wp\/docs\/prismatic.html\">extended documentation<\/a> for complete information and tips.<\/p>\n\n<p><strong>Like the plugin?<\/strong><\/p>\n\n<p>If you like Prismatic, please take a moment to <a href=\"https:\/\/wordpress.org\/support\/plugin\/prismatic\/reviews\/?rate=5#new-post\">give a 5-star rating<\/a>. It helps to keep development and support going strong. Thank you!<\/p>\n\n<p><strong>Restore Default Options<\/strong><\/p>\n\n<p>To restore default plugin options, either uninstall\/reinstall the plugin or visit the Prismatic General Settings &gt; Restore default plugin options.<\/p>\n\n<p><strong>Uninstalling<\/strong><\/p>\n\n<p>This plugin cleans up after itself. All plugin settings will be removed from the WordPress database when the plugin is deleted via the WP Plugins screen.<\/p>\n\n<p><strong>Note:<\/strong> that uninstalling the plugin will NOT touch any of your post content. Only the plugin options are removed when the plugin is uninstalled via the Plugins screen.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20you%20add%20another%20language%20for%20prism.js%20or%20highlight.js%3F\"><h3>Can you add another language for Prism.js or Highlight.js?<\/h3><\/dt>\n<dd><p>Yes, feel free to <a href=\"https:\/\/plugin-planet.com\/support\/#contact\">suggest a language<\/a><\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20gutenberg%20block%20editor%3F\"><h3>Does this work with Gutenberg Block Editor?<\/h3><\/dt>\n<dd><p>Yes, the plugin provides a \"Prismatic\" block that makes it easy to add code snippets that will be highlighted on the front-end. Also provides \"add code\" buttons for the Classic TinyMCE (Visual\/Text) Editor. Add code, choose a language, done!<\/p><\/dd>\n<dt id=\"display%20syntax-highlighted%20code%20inside%20block%20editor%3F\"><h3>Display syntax-highlighted code inside Block Editor?<\/h3><\/dt>\n<dd><p>If for some reason you want to view syntax-highlighted code inside of the Block Editor, you can do it with the Classic Block:<\/p>\n\n<ol>\n<li>Select the Classic Block<\/li>\n<li>Click on the Prismatic TinyMCE button<\/li>\n<li>Enter your code and save changes<\/li>\n<\/ol>\n\n<p>The code won't be highlighted initially, but if you refresh the page after making changes, or visit the page again in the future, the code will be displayed with syntax highlighting applied.<\/p><\/dd>\n<dt id=\"how%20to%20syntax%20highlight%20code%20inside%20of%20acf%20field%3F\"><h3>How to syntax highlight code inside of ACF field?<\/h3><\/dt>\n<dd><p>As of Prismatic version 2.3, code snippets inside of ACF fields are highlighted automatically. Simply add the required class (e.g., <code>language-php<\/code>) just like any other code snippet, and the plugin will detect and highlight the code. To also escape the highlighted code, enable escaping for post content via the setting, Prism &gt; Code Escaping &gt; Content. Note: ACF is supported only on single post views.<\/p><\/dd>\n<dt id=\"how%20to%20make%20highlighting%20work%20with%20autoptimize%3F\"><h3>How to make highlighting work with Autoptimize?<\/h3><\/dt>\n<dd><p>For Prismatic plugin to work with Autoptimize, a script needs to be excluded. Follow these steps:<\/p>\n\n<ol>\n<li>Go to Autoptimize Settings &gt; Javascript Options &gt; Exclude scripts from Autoptimize<\/li>\n<li><p>Add the following to the excluded scripts list:<\/p>\n\n<p>wp-content\/plugins\/prismatic\/lib\/highlight\/js\/highlight-core.js<\/p><\/li>\n<\/ol>\n\n<p>Save changes and done. You may need to empty cache and\/or force-reload your web browser for the script to load and changes to take effect.<\/p><\/dd>\n<dt id=\"how%20to%20disable%20block%20styles%20on%20frontend%3F\"><h3>How to disable block styles on frontend?<\/h3><\/dt>\n<dd><p>If you are not using Gutenberg Block Editor, you can disable the plugin's block stylesheet. Simply enable the plugin setting, \"Block Styles\". Save changes and done.<\/p>\n\n<p>FYI: the Prismatic block styles are included via: <code>\/prismatic\/css\/styles-blocks.css<\/code><\/p><\/dd>\n<dt id=\"how%20to%20escape%20nested%20code%20tags%3F\"><h3>How to escape nested code tags?<\/h3><\/dt>\n<dd><p>Currently the only way to display nested <code>&lt;code&gt;<\/code> tags is to use the following shortcode:<\/p>\n\n<pre><code>[prismatic_code][\/prismatic_code]\n<\/code><\/pre>\n\n<p>Currently this works only for <strong>inline<\/strong> <code>&lt;code&gt;<\/code> tags. More details <a href=\"https:\/\/wordpress.org\/support\/topic\/sourcecode-with-tags-i-e-nested-tags\/#post-13651551\">here<\/a>.<\/p><\/dd>\n<dt id=\"line%20numbers%20not%20working%3F\"><h3>Line numbers not working?<\/h3><\/dt>\n<dd><p>Apparently some themes have problems displaying line numbers on highlighted code snippets. A possible solution is to add the following code via <a href=\"https:\/\/digwp.com\/2022\/12\/custom-code-wordpress\/\">theme template or simple plugin<\/a>:<\/p>\n\n<pre><code>function prismatic_add_body_class($classes) {\n\n    $classes[] = 'line-numbers';\n\n    return $classes;\n\n}\nadd_filter('body_class', 'prismatic_add_body_class');\n<\/code><\/pre>\n\n<p>All that's doing is adding a class named <code>line-numbers<\/code> to the body tag of your web pages. Should do the trick to get line numbers working on stubborn themes. Original idea posted <a href=\"https:\/\/wordpress.org\/support\/topic\/line-numbers-line-highlight-not-working\/\">here<\/a>.<\/p><\/dd>\n<dt id=\"how%20to%20filter%20the%20language%20menu%3F\"><h3>How to filter the language menu?<\/h3><\/dt>\n<dd><p>Check out <a href=\"https:\/\/perishablepress.com\/prismatic-filtered-language-menus\/\">Filtered Language Menus with Prismatic WordPress Plugin<\/a>.<\/p><\/dd>\n<dt id=\"how%20to%20disable%20highlighting%20code%20in%20comments%3F\"><h3>How to disable highlighting code in comments?<\/h3><\/dt>\n<dd><p>Check out <a href=\"https:\/\/perishablepress.com\/prismatic-disable-highlight-comments\/\">Disable Highlighting in Comments with Prismatic WordPress Plugin<\/a>.<\/p><\/dd>\n<dt id=\"how%20i%20can%20remember%20to%20include%20the%20shortcode%20tags%3F\"><h3>How I can remember to include the shortcode tags?<\/h3><\/dt>\n<dd><p><a href=\"https:\/\/wordpress.org\/support\/topic\/render-block-nested-shortcodes\/\">Thanks<\/a> to <a href=\"https:\/\/wordpress.org\/support\/users\/hupe13\/\">@hupe13<\/a>, you can add this snippet to make sure the shortcode is included when working with blocks:<\/p>\n\n<pre><code>function prismatic_block_shortcode_mod($block_content, $block) {\n    if ($block['blockName'] === 'prismatic\/blocks') {\n        if (strpos($block['innerHTML'], 'prismatic_code') === false) {\n            return str_replace('[', '&amp;#091;', $block['innerHTML']);\n        }\n    }\n    return $block_content;\n}\nadd_filter('render_block', 'prismatic_block_shortcode_mod', 10, 2);\n<\/code><\/pre><\/dd>\n<dt id=\"got%20a%20question%3F\"><h3>Got a question?<\/h3><\/dt>\n<dd><p>Send any questions or feedback via my <a href=\"https:\/\/plugin-planet.com\/support\/#contact\">contact form<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>Thank you to everyone providing feedback! If you like Prismatic, please take a moment to <a href=\"https:\/\/wordpress.org\/support\/plugin\/prismatic\/reviews\/?rate=5#new-post\">give a 5-star rating<\/a>. It helps to keep development and support going strong. Thank you!<\/p>\n\n<p><strong>3.7.4 (2026\/03\/11)<\/strong><\/p>\n\n<ul>\n<li>Adds whitelist sanitization for code attributes<\/li>\n<li>Tests on WordPress 6.9 + 7.0<\/li>\n<\/ul>\n\n<p>Full changelog @ <a href=\"https:\/\/plugin-planet.com\/wp\/changelog\/prismatic.txt\">https:\/\/plugin-planet.com\/wp\/changelog\/prismatic.txt<\/a><\/p>","raw_excerpt":"Display beautiful syntax-highlighted code snippets with Prism.js or Highlight.js","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51728"}],"author":[{"embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/specialk"}],"wp:attachment":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51728"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51728"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51728"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51728"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51728"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}