
{"id":946,"date":"2009-05-06T09:00:21","date_gmt":"2009-05-06T08:00:21","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=946"},"modified":"2009-05-28T23:45:53","modified_gmt":"2009-05-28T22:45:53","slug":"updated-syntaxhighlighter","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/","title":{"rendered":"Updated Syntaxhighlighter"},"content":{"rendered":"<div class=\"update\"><strong>Update #1:<\/strong> hmmmm, stupid but I write these post sometimes weeks ahead&#8230;. and this one caught up on me&#8230; The new version of SyntaxHighlighter Evolved has ActionScript support.. \ud83d\ude42<\/div>\n<div class=\"update\"><strong>Update #2:<\/strong> I could remove everything below, but I&#8217;m keeping this here, perhaps someone can use it&#8230;. and it took some time to write, so I really can&#8217;t kill my darlings.<\/p>\n<p>A little change I made to the new updated plugin:<br \/>\nfind the plugin-folder &#8220;syntaxhighlighter&#8221; and add the next line to &#8220;syntaxhighlighter.php&#8221;<br \/>\n[as highlight=&#8221;1,3&#8243;]<br \/>\n&#8216;as&#8217; \t\t\t=&gt; &#8216;as3&#8217;,<br \/>\n&#8216;as3&#8217;           =&gt; &#8216;as3&#8217;,<br \/>\n&#8216;actionscript&#8217;  =&gt; &#8216;as3&#8217;,<br \/>\n&#8216;actionscript3&#8217; =&gt; &#8216;as3&#8217;,<br \/>\n[\/as]<br \/>\n<strong>and<\/strong> find in the plugin-folder &#8220;syntaxhighlighter&#8221;, the folder &#8220;scripts&#8221; and change the next line to &#8220;shBrushAS3.js&#8221;<br \/>\n[as wrapper=&#8221;true&#8221;]<br \/>\n\/\/ SyntaxHighlighter.brushes.AS3.aliases\t= [&#8216;actionscript3&#8217;, &#8216;as3&#8217;]; \/\/ old line and the bottom of the .js file<br \/>\nSyntaxHighlighter.brushes.AS3.aliases\t= [&#8216;actionscript3&#8242;,&#8217;actionscript&#8217;, &#8216;as3&#8217;, &#8216;as&#8217;]; \/\/ new line<br \/>\n[\/as]<\/p>\n<p>the new syntaxhighlighter only uses &#8220;<code>as3<\/code>&#8221; and &#8220;<code>actionscript3<\/code>&#8220;, and I just changed all my post to &#8220;<code>as<\/code>&#8221;\n<\/div>\n<div class=\"update\"><strong>Update #3:<\/strong> and update the css, that made the code not wrap&#8230;.<br \/>\nI removed &#8220;white-space: pre;&#8221; form &#8220;code&#8221; and now it wraps:<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\ncode  { font-family: &quot;Courier New&quot;, Courier, monospace; font-size: 1.2em; \/*white-space: pre;*\/ color: Gray; }\r\n<\/pre>\n<\/div>\n<p>Today I updated my <a href=\"http:\/\/alexgorbatchev.com\/wiki\/SyntaxHighlighter\">SyntaxHighlighter JavaScript package by Alex Gorbatchev<\/a> and it was not easy&#8230;<\/p>\n<p>I have a syntax highlighter installed on my blog to show my ActionScript source code in a nice way.<br \/>\nBut the first time I installed it, I choose a WordPress plugin which isn&#8217;t add to <a href=\"http:\/\/wordpress.org\/extend\/plugins\/\">WordPress Plugin Directory<\/a>and doesn&#8217;t appear to be update.<br \/>\nAnd if I remember correctly, it didn&#8217;t work as it should and I had to add ActionScript. Read my previous decision <a href=\"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2008\/06\/04\/actionscript-syntax-highlighting\/\">here<\/a>.<br \/>\nSo I had to upgrade to <a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighter\/\">SyntaxHighlighter Evolved<\/a> which of course came with some upgrading issues created by my previous install.<\/p>\n<p>First problem: write ActionScript.<br \/>\nActionScript is not default included in the Syntaxhighter, and you will be advised to use <code>[ javascript ]<\/code> tag, which is a good advice since AS is almost javascript. It would make your live easier if you choose this option.<br \/>\nBut as in my last installment of syntaxhighlighter I want to use Actionscript highlighting.<br \/>\nSo there we go:<br \/>\nTo do that you need an Actionscript brush. I found two of them: <a href=\"http:\/\/www.cptloadtest.com\/CategoryView,category,Flash.aspx\">cptloadtest.com<\/a> has one but it looks like its more for AS2,<br \/>\nand <a href=\"http:\/\/yourpalmark.com\/2009\/02\/17\/as3-syntax-highlighting-with-syntaxhighlighter-20\/\">yourpalmark.com<\/a> which is also the one I choose, because I used his version also with my previous installment and it&#8217;s for AS3.<\/p>\n<p>This is what you need to do: install SyntaxHighlighter and if you choose to use <code>[ javascript ]<\/code><br \/>\nyour done. I was not done yet, so lets continue&#8230; Download <a href=\"http:\/\/yourpalmark.com\/2009\/02\/17\/as3-syntax-highlighting-with-syntaxhighlighter-20\/\">the shBrushAS3.zip<\/a>, extract and place the <code>shBrushAS3.js<\/code> in the correct folder on the server (in my case <code>...\/wp-content\/plugins\/syntaxhighlighter\/syntaxhighlighter\/scripts<\/code>). Now you need to change some code in the WordPress plugin:<br \/>\nYou can do this in WordPress itself if you have writing permission set, or you can edit the php file on your desktop&#8230;<br \/>\nyou need to add the highlighted code <\/p>\n<pre class=\"brush: as3; highlight: [3]; light: true; title: ; notranslate\" title=\"\">\r\n\/\/ Register brush scripts\r\nwp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter\/syntaxhighlighter\/scripts\/shCore.js'), array(), $this-&gt;agshver );\r\nwp_register_script( 'syntaxhighlighter-brush-actionscript3', plugins_url('syntaxhighlighter\/syntaxhighlighter\/scripts\/shBrushAS3.js'), array('syntaxhighlighter-core'), $this-&gt;agshver);\r\n<\/pre>\n<p>and <\/p>\n<pre class=\"brush: as3; highlight: [3,4,5,6]; title: ; notranslate\" title=\"\">\r\n\/\/ Create list of brush aliases and map them to their real brushes\r\n$this-&gt;brushes = apply_filters( 'syntaxhighlighter_brushes', array(\r\n\t'as'       =&gt; 'actionscript3',\r\n\t'as2'       =&gt; 'actionscript3',\r\n\t'as3'       =&gt; 'actionscript3',\r\n\t'actionscript'       =&gt; 'actionscript3',\r\n\t'bash'       =&gt; 'bash',\r\n<\/pre>\n<p>and now you are ready to go.<\/p>\n<p>I had to change some other stuff (<code>[ source:as ]...[ \/source ]<\/code> into <code>[ as ]...[ \/as ]<\/code> ) and it seems that my css is not playing nice with syntaxhighlighter. hmmmm this is more work then I thought it would be.<\/p>\n<p>I had to deactivate one plugin: <a href=\"http:\/\/priyadi.net\/archives\/2005\/09\/27\/wordpress-plugin-code-autoescape\/\">autoescape<\/a> , it didn&#8217;t play nice with SyntaxHightlighter. I didn&#8217;t use it anymore, and the combination generated gibberish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update #1: hmmmm, stupid but I write these post sometimes weeks ahead&#8230;. and this one caught up on me&#8230; The new version of SyntaxHighlighter Evolved has ActionScript support.. \ud83d\ude42 Update #2: I could remove everything below, but I&#8217;m keeping this here, perhaps someone can use it&#8230;. and it took some time to write, so I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,6,17],"tags":[39,408,155,185,186,406],"class_list":["post-946","post","type-post","status-publish","format-standard","hentry","category-as3","category-open-source-freeware","category-wordpress-plugin","tag-as2","tag-as3","tag-syntax-highlighter","tag-upgrading","tag-wordpress","tag-wordpress-plugin"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I&#039;m keeping this here, perhaps someone can use it.... and it took some time to write, so I\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Matthijs Kamstra\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"[mck] | a polymath zapper\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Updated Syntaxhighlighter | [mck]\" \/>\n\t\t<meta property=\"og:description\" content=\"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I&#039;m keeping this here, perhaps someone can use it.... and it took some time to write, so I\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-05-06T08:00:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-05-28T22:45:53+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Updated Syntaxhighlighter | [mck]\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I&#039;m keeping this here, perhaps someone can use it.... and it took some time to write, so I\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#article\",\"name\":\"Updated Syntaxhighlighter | [mck]\",\"headline\":\"Updated Syntaxhighlighter\",\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"},\"datePublished\":\"2009-05-06T09:00:21+01:00\",\"dateModified\":\"2009-05-28T23:45:53+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#webpage\"},\"articleSection\":\"AS3, Open source \\\/ Freeware, WordPress Plugin, AS2, AS3, syntax highlighter, upgrading, WordPress, WordPress Plugin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"position\":2,\"name\":\"Flash\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"name\":\"AS3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"position\":3,\"name\":\"AS3\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#listItem\",\"name\":\"Updated Syntaxhighlighter\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#listItem\",\"position\":4,\"name\":\"Updated Syntaxhighlighter\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"name\":\"AS3\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Matthijs Kamstra\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g\",\"width\":96,\"height\":96,\"caption\":\"Matthijs Kamstra\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#webpage\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/\",\"name\":\"Updated Syntaxhighlighter | [mck]\",\"description\":\"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I'm keeping this here, perhaps someone can use it.... and it took some time to write, so I\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/05\\\/06\\\/updated-syntaxhighlighter\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2009-05-06T09:00:21+01:00\",\"dateModified\":\"2009-05-28T23:45:53+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Updated Syntaxhighlighter | [mck]","description":"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I'm keeping this here, perhaps someone can use it.... and it took some time to write, so I","canonical_url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#article","name":"Updated Syntaxhighlighter | [mck]","headline":"Updated Syntaxhighlighter","author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"},"datePublished":"2009-05-06T09:00:21+01:00","dateModified":"2009-05-28T23:45:53+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#webpage"},"isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#webpage"},"articleSection":"AS3, Open source \/ Freeware, WordPress Plugin, AS2, AS3, syntax highlighter, upgrading, WordPress, WordPress Plugin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.matthijskamstra.nl\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","position":2,"name":"Flash","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","name":"AS3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","position":3,"name":"AS3","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#listItem","name":"Updated Syntaxhighlighter"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#listItem","position":4,"name":"Updated Syntaxhighlighter","previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","name":"AS3"}}]},{"@type":"Organization","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization","name":"[mck]","description":"a polymath zapper","url":"https:\/\/www.matthijskamstra.nl\/blog\/"},{"@type":"Person","@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author","url":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/","name":"Matthijs Kamstra","image":{"@type":"ImageObject","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g","width":96,"height":96,"caption":"Matthijs Kamstra"}},{"@type":"WebPage","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#webpage","url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/","name":"Updated Syntaxhighlighter | [mck]","description":"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I'm keeping this here, perhaps someone can use it.... and it took some time to write, so I","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/#breadcrumblist"},"author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"datePublished":"2009-05-06T09:00:21+01:00","dateModified":"2009-05-28T23:45:53+01:00"},{"@type":"WebSite","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website","url":"https:\/\/www.matthijskamstra.nl\/blog\/","name":"[mck]","description":"a polymath zapper","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"[mck] | a polymath zapper","og:type":"article","og:title":"Updated Syntaxhighlighter | [mck]","og:description":"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I'm keeping this here, perhaps someone can use it.... and it took some time to write, so I","og:url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/","article:published_time":"2009-05-06T08:00:21+00:00","article:modified_time":"2009-05-28T22:45:53+00:00","twitter:card":"summary_large_image","twitter:title":"Updated Syntaxhighlighter | [mck]","twitter:description":"Update #1: hmmmm, stupid but I write these post sometimes weeks ahead.... and this one caught up on me... The new version of SyntaxHighlighter Evolved has ActionScript support.. :) Update #2: I could remove everything below, but I'm keeping this here, perhaps someone can use it.... and it took some time to write, so I"},"aioseo_meta_data":{"post_id":"946","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-12-11 08:58:54","updated":"2025-06-04 09:49:33","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/\" title=\"Flash\">Flash<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/\" title=\"AS3\">AS3<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUpdated Syntaxhighlighter\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.matthijskamstra.nl\/blog"},{"label":"Flash","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/"},{"label":"AS3","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/"},{"label":"Updated Syntaxhighlighter","link":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/05\/06\/updated-syntaxhighlighter\/"}],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=946"}],"version-history":[{"count":16,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/946\/revisions"}],"predecessor-version":[{"id":1018,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/946\/revisions\/1018"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}