{"id":33932,"date":"2015-01-15T06:22:10","date_gmt":"2015-01-15T06:22:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/smartass-highlighter\/"},"modified":"2015-05-09T11:48:10","modified_gmt":"2015-05-09T11:48:10","slug":"smartass-highlighter","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/smartass-highlighter\/","author":14224232,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"4.2.39","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"SmartAss Highlighter","header_author":"Harshvardhan Malpani","header_description":"","assets_banners_color":"d3d2d3","last_updated":"2015-05-09 11:48:10","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=EVULYXVJWP8ZW","header_plugin_uri":"http:\/\/justtechthings.com\/smartass-highlighter","header_author_uri":"https:\/\/plus.google.com\/+HarshvardhanMalpani","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2192,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1068351","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1539244","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1539244","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539244","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539244","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539244","resolution":"1","location":"plugin"}},"screenshots":{"1":"Visual editor screenshot","2":"Text only editor screenshot","3":"Sample highlighted output with line numbers","4":"Sample highlighted output without line numbers","5":"Code button"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4443,4444,57684,57685,57686],"plugin_category":[46,59],"plugin_contributors":[92477],"plugin_business_model":[],"class_list":["post-33932","plugin","type-plugin","status-publish","hentry","plugin_tags-code-highlighter","plugin_tags-highlighter","plugin_tags-smartass","plugin_tags-wordpress-code-highlight","plugin_tags-wp-code","plugin_category-editor-and-writing","plugin_category-utilities-and-tools","plugin_contributors-th3pirat3","plugin_committers-th3pirat3"],"banners":{"banner":"https:\/\/ps.w.org\/smartass-highlighter\/assets\/banner-772x250.jpg?rev=1068351","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/smartass-highlighter_d3d2d3.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/smartass-highlighter\/trunk\/screenshot-1.png?rev=1539244","caption":"Visual editor screenshot"},{"src":"https:\/\/ps.w.org\/smartass-highlighter\/trunk\/screenshot-2.png?rev=1539244","caption":"Text only editor screenshot"},{"src":"https:\/\/ps.w.org\/smartass-highlighter\/trunk\/screenshot-3.png?rev=1539244","caption":"Sample highlighted output with line numbers"},{"src":"https:\/\/ps.w.org\/smartass-highlighter\/trunk\/screenshot-4.png?rev=1539244","caption":"Sample highlighted output without line numbers"},{"src":"https:\/\/ps.w.org\/smartass-highlighter\/trunk\/screenshot-5.png?rev=1539244","caption":"Code button"}],"raw_content":"<!--section=description-->\n<ul>\n<li>SmartAss Highlighter is a simple and easy to use code prettifier for wordpress.<\/li>\n<li>The code between <code>&lt;pre&gt;<\/code> and <code>&lt;\/pre&gt;<\/code> tags is highlighted.<\/li>\n<li>Almost all languages are supported, no need to mention the code language.<\/li>\n<li>Customizable for each post, use <code>[highlighter]<\/code> shortcode to enable for particular post.<\/li>\n<li>To change theme, modify <code>highlighter.css<\/code> in the plugin directory.<\/li>\n<li>Button is available for both editor modes, i.e., Visual and Text editor.<\/li>\n<li>Line Numbers are <code>ON<\/code> by <em>default<\/em> but can be turned OFF by using modified shortcode <code>[highlighter line=0]<\/code><\/li>\n<li><strong>IMPORTANT<\/strong> - This plugin would not be updated very frequently, updates (if required) may delay<\/li>\n<\/ul>\n\n<h4>Basic Usage<\/h4>\n\n<ol>\n<li>Switch to Text Only Mode, Go to \"Edit my profile\" and then check \"Disable the visual editor when writing\" <\/li>\n<li>Create new post<\/li>\n<li>Put your code in between <code>&lt;pre&gt;<\/code> and <code>&lt;\/pre&gt;<\/code><\/li>\n<li><strong>MUST<\/strong> use shortcode <strong><code>[highlighter]<\/code><\/strong> to activate the SmartAss-Highlighter<\/li>\n<li>Line numbers are <em>on<\/em> by <em>default<\/em>, but can be switched off by using <strong><code>[highlighter line=0]<\/code><\/strong><\/li>\n<li><strong>Note<\/strong>: Only the Posts having shortcode <code>[highlighter]<\/code> will be highlighted. Your previous posts won't be affected.<\/li>\n<li><strong>Do NOT<\/strong> use html codes for special characters ( <code>&amp;lt;<\/code> or <code>&amp;gt;<\/code> ), Directly use <code>&lt;<\/code> or <code>&gt;<\/code><\/li>\n<\/ol>\n\n<h4>More Information<\/h4>\n\n<p>For more information of this plugin, please visit: <a href=\"http:\/\/justtechthings.com\/SmartAss-Highlighter\/\" title=\"SmartAss Highlighter - JustTechThings\">Plugin Homepage<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and extract <code>\"SmartAss-Highlighter.zip\"<\/code> to <code>\"wp-content\/plugins\/\"<\/code><\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress<\/li>\n<li>Put your code in between <code>&lt;pre&gt;<\/code> and <code>&lt;\/pre&gt;<\/code> (It provides a code button in the editor)<\/li>\n<li><strong>MUST<\/strong> use shortcode <strong><code>[highlighter]<\/code><\/strong> to activate the SmartAss-Highlighter<\/li>\n<li>Line numbers are <em>on<\/em> by <em>default<\/em>, but can be switched off by using <strong><code>[highlighter line=0]<\/code><\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Which programming languages are supported?<\/dt>\n<dd><p>It supports all programming languages. No need to mention the language of the code anywhere<\/p><\/dd>\n<dt>I don't like the style and theme colors of this plugin. How to change the colors?<\/dt>\n<dd><p>Edit the file <em>highlighter.css<\/em> to change the colors. See the documentation of CSS and class details at <a href=\"https:\/\/code.google.com\/p\/google-code-prettify\/source\/browse\/trunk\/src\/prettify.css\" title=\"Prettify.css\">Google Code Prettify<\/a><\/p><\/dd>\n<dt>Will this highlighter make my webpage slow?<\/dt>\n<dd><p>SmartAss Highlighter uses two files in output- <code>highlighter.js<\/code> and <code>highlighter.css<\/code>. These two files have total size of 17KB but If you web server supports <a href=\"http:\/\/justtechthings.com\/2A1KS\" title=\"How to compress web content\">compression<\/a> then the reduced load will be of 7KB. However, If your server does not support compression or you dont have control over it, please visit <a href=\"http:\/\/justtechthings.com\/SmartAss-Highlighter\/\" title=\"plugin page\">plugin page<\/a>.<\/p><\/dd>\n<dt>What is different about this highlighter?<\/dt>\n<dd><ul>\n<li>It uses a shortcode to trigger, so user can control highlighting from post to post.<\/li>\n<li>The extra code\/libraries are added in footer, so that you page is loaded first and highlighting is done later <em>asynchronously<\/em><\/li>\n<li>No option menu<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"SmartAss Highlighter is extremely simple and easy to use syntax highlighter for your code. Shortcode - [highlighter]","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33932"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/th3pirat3"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33932"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33932"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33932"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33932"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33932"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}