{"id":613,"date":"2009-12-18T13:20:19","date_gmt":"2009-12-18T17:20:19","guid":{"rendered":"http:\/\/www.outofwhatbox.com\/blog\/?p=613"},"modified":"2009-12-18T15:19:49","modified_gmt":"2009-12-18T19:19:49","slug":"update-of-forked-syntaxhighlighter","status":"publish","type":"post","link":"https:\/\/www.outofwhatbox.com\/blog\/2009\/12\/update-of-forked-syntaxhighlighter\/","title":{"rendered":"Update of Forked SyntaxHighlighter"},"content":{"rendered":"<p>As promised, I&#8217;ve updated this site&#8217;s fork of the <a href=\"http:\/\/alexgorbatchev.com\/wiki\/SyntaxHighlighter\">SyntaxHighlighter<\/a> software by Alex Gorbatchev. I&#8217;ve merged in many of the changes that Alex included in his 2.1.364 release, but with the following differences:<\/p>\n<ul>\n<li>In 2.1.364, the ruler functionality was removed. It&#8217;s still included here.<\/li>\n<li>2.1.364 changed the way that wrapped lines are presented. I&#8217;ve kept the old presentation, but modified the icon that&#8217;s used to signify wrapping.<\/li>\n<li>Internally, 2.1.364 uses a separate HTML table to represent each line of source.  I&#8217;ve maintained the older pattern of simply using a separate <code>&lt;div&gt;<\/code> to represent each line.<\/li>\n<\/ul>\n<p>Other new bits in this release:<\/p>\n<ul>\n<li>I&#8217;ve added a &#8220;Hide&#8221; button to the toolbar. Code blocks can now be expanded\/collapsed at the user&#8217;s whim. (As before, an author can still choose to present a block in the hidden\/collapsed state.)<\/li>\n<li><del datetime=\"2009-12-18T19:16:34+00:00\">When both a horizontal scrollbar and a gutter (the line number column) are displayed, the scrollbar no longer extends under the gutter. (I <em>think<\/em> this is an improvement; as always, feedback is welcome.)<\/del> <em>Update: I&#8217;ve backed out this change; it was causing problems with IE7.<\/em><\/li>\n<\/ul>\n<p>The ZIP file is available through the <a href=\"http:\/\/www.outofwhatbox.com\/blog\/syntaxhighlighter-downloads\/\">Download Page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve updated this site&#8217;s fork of the SyntaxHighlighter software by Alex Gorbatchev. These features a partial merge from Alex&#8217;s 2.1.364 release. I&#8217;ve also added a &#8220;Hide&#8221; button to the toolbar.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,20],"tags":[24],"_links":{"self":[{"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/posts\/613"}],"collection":[{"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/comments?post=613"}],"version-history":[{"count":5,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/posts\/613\/revisions"}],"predecessor-version":[{"id":620,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/posts\/613\/revisions\/620"}],"wp:attachment":[{"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/media?parent=613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/categories?post=613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.outofwhatbox.com\/blog\/wp-json\/wp\/v2\/tags?post=613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}