Syntax-highlighting Code Block (with Server-side Rendering) – WordPress plugin | WordPress.org


This plugin extends to Code block in WordPress core to add syntax highlighting which is rendered on the server. By performing the syntax highlighting on the server, there is then no need to enqueue any JavaScript on the frontend (e.g. Highlight.js or Prism.js) and this ensures there is no flash of unhighlighted code (FOUC?). Reducing … Read more Syntax-highlighting Code Block (with Server-side Rendering) – WordPress plugin | WordPress.org


This plugin extends to Code block in WordPress core to add syntax highlighting which is rendered on the server. By performing the syntax highlighting on the server, there is then no need to enqueue any JavaScript on the frontend (e.g. Highlight.js or Prism.js) and this ensures there is no flash of unhighlighted code (FOUC?). Reducing … Read more Syntax-highlighting Code Block (with Server-side Rendering) – WordPress plugin | WordPress.org


 


( ! ) Warning: Invalid argument supplied for foreach() in /var/www/html/_vh/gi/wp-content/plugins/metasynt/metasynt-plugin.php on line 90
Call Stack
#TimeMemoryFunctionLocation
10.0004354480{main}( ).../index.php:0
20.0006356128require( '/var/www/html/_vh/gi/wp-blog-header.php' ).../index.php:17
32.033995085016require_once( '/var/www/html/_vh/gi/wp-includes/template-loader.php' ).../wp-blog-header.php:19
42.036795112312include( '/var/www/html/_vh/gi/wp-content/themes/generatepress/archive.php' ).../template-loader.php:106
52.319297306888get_template_part( ).../archive.php:42
62.319297311456locate_template( ).../general-template.php:168
72.328097311552load_template( ).../template.php:672
82.329197321952require( '/var/www/html/_vh/gi/wp-content/themes/generatepress/content.php' ).../template.php:725
92.389197521960do_action( ).../content.php:92
102.389197522336WP_Hook->do_action( ).../plugin.php:478
112.389197522336WP_Hook->apply_filters( ).../class-wp-hook.php:311
122.389197523464mes__mainview( ).../class-wp-hook.php:287
132.389397526224ms__display_content( ).../metasynt-plugin.php:71