{"id":10,"date":"2008-07-27T22:11:26","date_gmt":"2008-07-27T21:11:26","guid":{"rendered":"http:\/\/paguilar.org\/?p=10"},"modified":"2008-07-27T22:11:26","modified_gmt":"2008-07-27T21:11:26","slug":"code-formatting-for-comments","status":"publish","type":"post","link":"https:\/\/paguilar.org\/?p=10","title":{"rendered":"Code formatting for comments"},"content":{"rendered":"<p>With the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntax\/\" title=\"WPSyntax site\">WP-Syntax<\/a> plugin that I installed this weekend you can\u00a0 write your comments with a clean syntax highlighting.<\/p>\n<p>You only need to write the code between the<\/p>\n<p>&lt;pre lang=&#8221;LANGUAGE&#8221;&gt; and &lt;\/pre&gt; tags where<br \/>\n`LANGUAGE` is a <a href=\"http:\/\/qbnz.com\/highlighter\/geshi-doc.html\" title=\"GeSHi site\">GeSHi<\/a> supported language syntax. This means it recognizes several languages such as C, C++, bash and\u00a0 Perl that are the must used in this blog.<\/p>\n<p>Check the first link\u00a0 for the different options that you can add to the &lt;pre&gt; tag.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the WP-Syntax plugin that I installed this weekend you can\u00a0 write your comments with a clean syntax highlighting. You only need to write the code between the &lt;pre lang=&#8221;LANGUAGE&#8221;&gt; and &lt;\/pre&gt; tags where `LANGUAGE` is a GeSHi supported language syntax. This means it recognizes several languages such as C, C++, bash and\u00a0 Perl that\u2026 <span class=\"read-more\"><a href=\"https:\/\/paguilar.org\/?p=10\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[50,19],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-blog","tag-blog","tag-code"],"_links":{"self":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/paguilar.org\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paguilar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}