[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fTYwxFNCxbzT9G0VnfbT12AHpjWLn6_Y9U1esjuLRA7M":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"jesucarr","https:\u002F\u002Fprofiles.wordpress.org\u002Fjesucarr\u002F",1,80,85,30,84,"2026-04-04T20:58:11.670Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":10,"num_ratings":20,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":8,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":35},"prettify-code-syntax","Prettify Code Syntax","1.2.1","\u003Cp>The main reason for the development of this plugin was the lack of options supporting the \u003Cstrong>HTML5 recommendation\u003C\u002Fstrong>, where the code snippets should be tagged with \u003Ccode>pre\u003C\u002Fcode> followed by \u003Ccode>code\u003C\u002Fcode>, and optionally a class starting with \u003Ccode>language-\u003C\u002Fcode> and then our language.\u003C\u002Fp>\n\u003Cp>You can use the plugin like this:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cpre class=\"prettyprint\">\u003Ccode class=\"language-php\">\n\u002F\u002F my code\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Also very important is that although this plugin loads different files depending on your configuration, it fully \u003Cstrong>supports caching\u003C\u002Fstrong> scripts (\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fw3-total-cache\u002F\" rel=\"ugc\">W3 Total Cache\u003C\u002Fa>) to concatenate and compress all the css and js, so the impact in performance will be minimum.\u003C\u002Fp>\n\u003Ch4>Languages\u003C\u002Fh4>\n\u003Cp>This syntax highlighter is based on \u003Ca href=\"http:\u002F\u002Fgoogle-code-prettify.googlecode.com\u002Fsvn\u002Ftrunk\u002FREADME.html\" rel=\"nofollow ugc\">Google Code Prettify\u003C\u002Fa> and should work on a number of languages including \u003Cstrong>C\u003C\u002Fstrong> and friends, \u003Cstrong>Java\u003C\u002Fstrong>, \u003Cstrong>Python\u003C\u002Fstrong>, \u003Cstrong>Bash\u003C\u002Fstrong>, \u003Cstrong>SQL\u003C\u002Fstrong>, \u003Cstrong>HTML\u003C\u002Fstrong>, \u003Cstrong>XML\u003C\u002Fstrong>, \u003Cstrong>Javascript\u003C\u002Fstrong>, \u003Cstrong>Makefiles\u003C\u002Fstrong>, and Rust. It works passably on \u003Cstrong>Ruby\u003C\u002Fstrong>, \u003Cstrong>PHP\u003C\u002Fstrong>, \u003Cstrong>VB\u003C\u002Fstrong>, and \u003Cstrong>Awk\u003C\u002Fstrong> and a decent subset of \u003Cstrong>Perl\u003C\u002Fstrong> and \u003Cstrong>Ruby\u003C\u002Fstrong>, but, because of commenting conventions, doesn’t work on Smalltalk.\u003C\u002Fp>\n\u003Cp>Other languages are supported via an extension (plugin options):  \u003Cstrong>CSS\u003C\u002Fstrong>, \u003Cstrong>SQL\u003C\u002Fstrong>, \u003Cstrong>YAML\u003C\u002Fstrong>, \u003Cstrong>Visual Basic\u003C\u002Fstrong>, \u003Cstrong>Clojure\u003C\u002Fstrong>, \u003Cstrong>Scala\u003C\u002Fstrong>, \u003Cstrong>Latek (TeX, LaTeX)\u003C\u002Fstrong>, \u003Cstrong>WikiText\u003C\u002Fstrong>, \u003Cstrong>Erlang\u003C\u002Fstrong>, \u003Cstrong>Go\u003C\u002Fstrong>, \u003Cstrong>Haskell\u003C\u002Fstrong>, \u003Cstrong>Lua\u003C\u002Fstrong>, \u003Cstrong>OCAML\u003C\u002Fstrong>, \u003Cstrong>SML\u003C\u002Fstrong>, \u003Cstrong>F#\u003C\u002Fstrong>, \u003Cstrong>Nemerle\u003C\u002Fstrong>, \u003Cstrong>Protocol Buffers\u003C\u002Fstrong>, \u003Cstrong>CHDL (VHDL)\u003C\u002Fstrong>, \u003Cstrong>XQ (XQuery)\u003C\u002Fstrong>, \u003Cstrong>Lisp, Scheme\u003C\u002Fstrong>, \u003Cstrong>Dart\u003C\u002Fstrong>, \u003Cstrong>Llvm\u003C\u002Fstrong>, \u003Cstrong>Mumps\u003C\u002Fstrong>, \u003Cstrong>Pascal\u003C\u002Fstrong>, \u003Cstrong>R, S\u003C\u002Fstrong>, \u003Cstrong>RD\u003C\u002Fstrong>, \u003Cstrong>TCL\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch4>Styles\u003C\u002Fh4>\n\u003Cp>\u003Cstrong>Four\u003C\u002Fstrong> different styles are provided, and they can be previewed in the plugin options. They are modified to make sure they don’t clash with any other styles in your theme.\u003C\u002Fp>\n\u003Cp>You have also the option to include your \u003Cstrong>custom style\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>If you have a style that would like to see included in the option list, just \u003Ca href=\"http:\u002F\u002Fwww.frontendmatters.com\u002Fcontact\u002F\" rel=\"nofollow ugc\">contact me\u003C\u002Fa>, or \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjesucarr\u002Fwordpress-prettify-code-syntax\" rel=\"nofollow ugc\">fork me\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch4>Notes\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\n\u003Cp>Plugin options are at Settings > Prettify Code Syntax. Have a look at the Screenshots tab to see how it looks like.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>If you don’t care too much about the HTML5 recommendation, you can skip the \u003Ccode>language-\u003C\u002Fcode> class. The code always gets detected automatically.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>It will also work if you only use a \u003Ccode>pre\u003C\u002Fcode> tag without the \u003Ccode>code\u003C\u002Fcode> tag (but long lines will be wrapped instead of get horizontal scroll), or if you only use a \u003Ccode>code\u003C\u002Fcode> tag with the \u003Ccode>prettyprint\u003C\u002Fcode> class (but if you don’t use \u003Ccode>pre\u003C\u002Fcode> your spaces\u002Freturns won’t be maintained.)\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Be careful using the Visual Editor tab when inserting code, as some HTML tags will be modified or removed.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Using a chaching plugin like W3 Total Cache is highly recommended.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Demo\u003C\u002Fh4>\n\u003Cp>You can find a \u003Ca href=\"http:\u002F\u002Fwww.frontendmatters.com\u002Fopen-source\u002Fwordpress-plugins\u002Fprettify-code-syntax\u002F\" rel=\"nofollow ugc\">front end demo\u003C\u002Fa> here a the bottom.\u003C\u002Fp>\n","Code syntax highlighter using Google Prettify, supporting the HTML5 recommendation, and caching plugins.",15494,12,"2013-03-21T07:54:00.000Z","3.5.2","3.0.1","",[26,27,28,29,30],"code","highlighter","markup","prettify","syntax","http:\u002F\u002Fwww.frontendmatters.com\u002Fopen-source\u002Fwordpress-plugins\u002Fprettify-code-syntax\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fprettify-code-syntax.1.2.1.zip",0,null,"2026-03-15T15:16:48.613Z"]