{"id":40339,"date":"2019-12-14T16:07:33","date_gmt":"2019-12-14T16:07:33","guid":{"rendered":"https:\/\/s.b\/oikcom\/block\/geshi-oik-css-geshi\/"},"modified":"2022-11-21T23:10:48","modified_gmt":"2022-11-21T23:10:48","slug":"geshi-oik-css-geshi","status":"publish","type":"block","link":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/","title":{"rendered":"GeSHi <span class=\"summary\">&#8211; oik-css\/geshi<\/span>"},"content":{"rendered":"\n<div class=\"wp-block-oik-block-blockinfo svg64\"><div><div><span class=\"dashicon dashicons dashicons-editor-code\"><\/span><\/div>Generic Syntax Highlighting &#8211; for code examples<dl><\/dl><\/div><\/div>\n\n\n\n<!--more-->\n\n\n\n<p class=\"has-very-light-gray-background-color has-background\">Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Screenshot<\/h2>\n\n\n<div class=\"bw_metadata featured\"><span class=\"value\"><img decoding=\"async\" class=\"featured\" src=\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg\"  \/><\/span><\/div>\n\n\n<h2 class=\"wp-block-heading\">Example<\/h2>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>  <\/p>\n\n\n<div class=\"wp-block-oik-css-geshi\"><div class=\"bw_geshi php\">PHP example<br \/><code><span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'Code is Poetry'<\/span><span style=\"color: #339933;\">;<\/span><br \/>\nand that<span style=\"color: #0000ff;\">'s a fact<\/span><\/code><\/div><\/div>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-oik-css-geshi\"><div class=\"bw_geshi html5\">HTML example<br \/><code><span style=\"color: #009900;\">&lt;<span style=\"color: #000000; font-weight: bold;\">p<\/span>&gt;<\/span>Code is Poetry<span style=\"color: #009900;\">&lt;<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #000000; font-weight: bold;\">p<\/span>&gt;<\/span><\/code><\/div><\/div>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-oik-css-geshi has-text-color has-white-color has-background has-black-background-color has-large-font-size\"><div class=\"bw_geshi none\"><pre>echo &#039;Code is Poetry&#039;; <\/pre><\/div><\/div>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Supported languages are:\n<ul class=\"wp-block-list\">\n<li>None &#8211; code is escaped by not highlighted<\/li>\n\n\n\n<li>HTML &#8211; supports HTML5<\/li>\n\n\n\n<li>CSS &#8211; see also <span class=\"bw_list\"><a class=\"bw_post\" id=\"id-40337\" href=\"https:\/\/www.oik-plugins.com\/block\/css-oik-css-css\/\">CSS <span class=\"summary\">&#8211; oik-css\/css<\/span><\/a><\/span><\/li>\n\n\n\n<li>JavaScript <\/li>\n\n\n\n<li>jQuery<\/li>\n\n\n\n<li>PHP<\/li>\n\n\n\n<li>MySQL<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If you want to display CSS and have it apply to your content use the <span class=\"bw_list\"><a class=\"bw_post\" id=\"id-40337\" href=\"https:\/\/www.oik-plugins.com\/block\/css-oik-css-css\/\">CSS <span class=\"summary\">&#8211; oik-css\/css<\/span><\/a><\/span> block.<\/li>\n\n\n\n<li>Forked from and transforms from <span class=\"bw_list\"><a class=\"bw_post\" id=\"id-39962\" href=\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-block-geshi\/\">GeSHi <span class=\"summary\">&#8211; oik-block\/geshi<\/span><\/a><\/span>.<\/li>\n\n\n\n<li>Transforms from the <a class=\"bw_code bw_geshi\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/bw_geshi\/oik_geshi\" title=\"Link to help for shortcode: bw_geshi\"><span>[<\/span>bw_geshi]<\/a> shortcode.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p><!-- wp:oik-block\/blockinfo {\"blockicon\":\"oik-css\/geshi\",\"showBlockTypeName\":false,\"showTitle\":false,\"showCategory\":false,\"showKeywords\":false,\"className\":\"svg64\"} --><\/p>\n<div class=\"wp-block-oik-block-blockinfo svg64\">\n<div>\n<div><span class=\"dashicon dashicons dashicons-editor-code\"><\/span><\/div>\n<p>Generic Syntax Highlighting &#8211; for code examples<\/p>\n<dl><\/dl>\n<\/div>\n<\/div>\n<p><!-- \/wp:oik-block\/blockinfo --><\/p>\n<p><!-- wp:more --><\/p>\n","protected":false},"author":1,"featured_media":39963,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","block_category":[641],"block_keyword":[642,650,756,757,758,759,680,760],"block_classification":[597],"block_letters":[614],"class_list":{"0":"post-40339","1":"block","2":"type-block","3":"status-publish","4":"has-post-thumbnail","6":"block_category-layout","7":"block_keyword-css","8":"block_keyword-geshi","9":"block_keyword-highlight","10":"block_keyword-html","11":"block_keyword-javascript","12":"block_keyword-mysql","13":"block_keyword-php","14":"block_keyword-syntax","15":"block_classification-server-side-rendered","16":"block_letters-g","17":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GeSHi - oik-css\/geshi - [oik] plugins.com<\/title>\n<meta name=\"description\" content=\"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GeSHi - oik-css\/geshi - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T23:10:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"790\" \/>\n\t<meta property=\"og:image:height\" content=\"176\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/\",\"url\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/\",\"name\":\"GeSHi - oik-css\/geshi - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg\",\"datePublished\":\"2019-12-14T16:07:33+00:00\",\"dateModified\":\"2022-11-21T23:10:48+00:00\",\"description\":\"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage\",\"url\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg\",\"contentUrl\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg\",\"width\":790,\"height\":176},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blocks\",\"item\":\"https:\/\/www.oik-plugins.com\/block\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GeSHi &#8211; oik-css\/geshi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GeSHi - oik-css\/geshi - [oik] plugins.com","description":"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/","og_locale":"en_US","og_type":"article","og_title":"GeSHi - oik-css\/geshi - [oik] plugins.com","og_description":"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.","og_url":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/","og_site_name":"[oik] plugins.com","article_modified_time":"2022-11-21T23:10:48+00:00","og_image":[{"width":790,"height":176,"url":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg","type":"image\/jpeg"}],"twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/","url":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/","name":"GeSHi - oik-css\/geshi - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage"},"image":{"@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg","datePublished":"2019-12-14T16:07:33+00:00","dateModified":"2022-11-21T23:10:48+00:00","description":"GeSHi - oik-css\/geshi GeSHi,oik,php html js. Use the GeSHi block to display syntax highlighted code for a range of languages used in WordPress.","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#primaryimage","url":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg","contentUrl":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2019\/02\/oik-block-geshi-example.jpg","width":790,"height":176},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/block\/geshi-oik-css-geshi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blocks","item":"https:\/\/www.oik-plugins.com\/block\/"},{"@type":"ListItem","position":2,"name":"GeSHi &#8211; oik-css\/geshi"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block\/40339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/block"}],"author":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/comments?post=40339"}],"version-history":[{"count":2,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block\/40339\/revisions"}],"predecessor-version":[{"id":41278,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block\/40339\/revisions\/41278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media\/39963"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=40339"}],"wp:term":[{"taxonomy":"block_category","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_category?post=40339"},{"taxonomy":"block_keyword","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_keyword?post=40339"},{"taxonomy":"block_classification","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_classification?post=40339"},{"taxonomy":"block_letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_letters?post=40339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}