{"id":51,"date":"2016-12-05T01:10:36","date_gmt":"2016-12-04T22:10:36","guid":{"rendered":"http:\/\/bbioon.com\/about_me\/blog\/?page_id=51"},"modified":"2016-12-05T01:10:36","modified_gmt":"2016-12-04T22:10:36","slug":"code-highlighting","status":"publish","type":"page","link":"https:\/\/bbioon.com\/about_me\/blog\/code-highlighting\/","title":{"rendered":"Code Highlighting"},"content":{"rendered":"<p>Our theme supports code highlighting system<\/p>\n<p>here is css block code<\/p>\n<pre><code>.post-title {\r\n\tmargin: 0 0 5px;\r\n\tfont-weight: bold;\r\n\tfont-size: 38px;\r\n\tline-height: 1.2;\r\n}<\/code><\/pre>\n<p>and here is javascript code<\/p>\n<pre><code>var y = 5;\r\nvar x = ++y;\r\ndocument.getElementById(\"demo1\").innerHTML = y;\r\ndocument.getElementById(\"demo2\").innerHTML = x;\r\n<\/code><\/pre>\n<p>You can:<\/p>\n<ul>\n<li>use this system by adding the code between &lt;pre&gt;&lt;code&gt; html tags.<\/li>\n<li>the system will detect the language type automatically.<\/li>\n<li>you can disable it from theme setting and it will stop loading the system script.<\/li>\n<\/ul>\n<p><strong>and also supports more than 20 language<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our theme supports code highlighting system here is css block code .post-title { margin: 0 0 5px; font-weight: bold; font-size: 38px; line-height: 1.2; } and here is javascript code var y = 5; var x = ++y; document.getElementById(&#8220;demo1&#8221;).innerHTML = y; document.getElementById(&#8220;demo2&#8221;).innerHTML = x; You can: use this system by adding the code between &lt;pre&gt;&lt;code&gt; html&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-51","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/pages\/51"}],"collection":[{"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":1,"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/pages\/51\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/pages\/51\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/bbioon.com\/about_me\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}