{"id":41123,"date":"2016-01-04T10:42:11","date_gmt":"2016-01-04T10:42:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lite-syntax-highlighting\/"},"modified":"2019-03-24T10:38:46","modified_gmt":"2019-03-24T10:38:46","slug":"lite-syntax-highlighting","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/lite-syntax-highlighting\/","author":14023337,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5","stable_tag":"0.5","tested":"5.1.22","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Lite Syntax Highlighting","header_author":"Maksim Iliukovich","header_description":"","assets_banners_color":"","last_updated":"2019-03-24 10:38:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/blweb.ru","header_plugin_uri":"http:\/\/blweb.ru\/plugin-lite-syntax-highlighting","header_author_uri":"http:\/\/blweb.ru","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2764,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4","0.5"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2056215","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2056215","resolution":"3","location":"plugin"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"2056215","resolution":"4","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"2056215","resolution":"1","location":"plugin"}},"screenshots":{"1":"Example for PHP code","2":"Settings page","3":"Editor","4":"Dark style"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4443,4444,5284,2207,7526],"plugin_category":[],"plugin_contributors":[95060],"plugin_business_model":[],"class_list":["post-41123","plugin","type-plugin","status-publish","hentry","plugin_tags-code-highlighter","plugin_tags-highlighter","plugin_tags-highlighting","plugin_tags-syntax","plugin_tags-syntax-highlighter","plugin_contributors-z-17","plugin_committers-z-17"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lite-syntax-highlighting.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/lite-syntax-highlighting\/trunk\/screenshot-1.jpg?rev=2056215","caption":"Example for PHP code"},{"src":"https:\/\/ps.w.org\/lite-syntax-highlighting\/trunk\/screenshot-2.png?rev=2056215","caption":"Settings page"},{"src":"https:\/\/ps.w.org\/lite-syntax-highlighting\/trunk\/screenshot-3.png?rev=2056215","caption":"Editor"},{"src":"https:\/\/ps.w.org\/lite-syntax-highlighting\/trunk\/screenshot-4.jpg?rev=2056215","caption":"Dark style"}],"raw_content":"<!--section=description-->\n<p>The Plugin makes it easy to add syntax highlighting of code in your blog. You can use shortcodes in posts and comments and also html tags everywhere.<\/p>\n\n<p>It adds some buttons to editor, which generate special short code tags to turn on syntax highlighting: [slh lang=\"php\"] for example. And you can use html tags, example: &lt;pre class=\"slh__html\"&gt;&lt;\/pre&gt;<\/p>\n\n<p>The plugin supports highlighting:<\/p>\n\n<ul>\n<li>PHP<\/li>\n<li>HTML<\/li>\n<li>CSS<\/li>\n<li>JavaScript<\/li>\n<li>C<\/li>\n<\/ul>\n\n<p>Languages:<\/p>\n\n<ul>\n<li>English<\/li>\n<li>\u0420\u0443\u0441\u0441\u043a\u0438\u0439<\/li>\n<\/ul>\n\n<p>Styles:<\/p>\n\n<ul>\n<li>Light<\/li>\n<li>Dark<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the \"\/wp-content\/plugins\/\" directory or install the plugin through the WordPress plugins screen directly..<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Use the Settings -&gt; Syntax Highlighting screen to configure the plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What code is highlighted?<\/dt>\n<dd><p>PHP, HTML, CSS, JavaScript and C<\/p><\/dd>\n<dt>How can I help?<\/dt>\n<dd><p>There are public repository: https:\/\/github.com\/z17\/Lite-Syntax-Highlighting\nWelcome!<\/p><\/dd>\n<dt>How can I use it?<\/dt>\n<dd><p>You can use special buttons in WordPress post editor, or use shortcodes like [slh lang=\"php\"] to create block of code.\nAlso you can just write html tags &lt;pre class=\"slh__php\"&gt; CODE &lt;\/pre&gt; where you want.<\/p><\/dd>\n<dt>How can I ask something?<\/dt>\n<dd><p>Open new topic in support section or you can write me email, admin@blweb.ru<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.5<\/h4>\n\n<ul>\n<li>add support short codes<\/li>\n<li>short codes also work in comments<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>add basic highlight for C language<\/li>\n<li>some refactor<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>add dark style<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add languages support<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Lite Syntax Highlighting: PHP, HTML, CSS, JS, C","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41123"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/z-17"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41123"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41123"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41123"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41123"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41123"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}