{"id":29,"date":"2006-07-08T01:06:51","date_gmt":"2006-07-07T23:06:51","guid":{"rendered":"http:\/\/www.glorf.it\/blog\/2006\/07\/08\/allgemein\/wordpress-plugin-code-snippet\/"},"modified":"2006-07-08T01:09:42","modified_gmt":"2006-07-07T23:09:42","slug":"wordpress-plugin-code-snippet","status":"publish","type":"post","link":"http:\/\/www.glorf.it\/blog\/2006\/07\/08\/webtech\/wordpress-plugin-code-snippet","title":{"rendered":"WordPress-Plugin &quot;Code Snippet&quot;"},"content":{"rendered":"<p>Ich habe gerade das WordPress-Plugin &quot;<a href=\"http:\/\/blog.enargi.com\/codesnippet\/\">Code Snippet<\/a>&quot; entdeckt. Damit kann man in WordPress auch formatieren Quell-Code anzeigen:<\/p>\n<p>[code lang=&quot;sql&quot;] select max(Quantity) as &quot;schon fast der Median&quot;<br \/>\n     from (    SELECT TOP 50 percent Quantity<br \/>\n                      FROM #bla<br \/>\n                      order by Quantity) as d [\/code]<\/p>\n<p>Die Syntaxhervorbehung ist wirklich irgendwie nett. Das klappt sogar mit WordPress 2.0.<br \/>\nMit dem Wysiwyg-Editior gehen aber dauernd die Einr&#252;ckungen verloren. Ich las jetzt das sei ein Bug im Wysiwyg-Editor. Dann muss ich zuk&#252;nftig wohl den anderen benutzen&#8230;<\/p>\n<p>Echte M&#228;nner brauchen sowieso kein Wysiwyg! \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich habe gerade das WordPress-Plugin &quot;Code Snippet&quot; entdeckt. Damit kann man in WordPress auch formatieren Quell-Code anzeigen: [code lang=&quot;sql&quot;] select max(Quantity) as &quot;schon fast der Median&quot; from ( SELECT TOP 50 percent Quantity FROM #bla order by Quantity) as d [\/code] Die Syntaxhervorbehung ist wirklich irgendwie nett. Das klappt sogar mit WordPress 2.0. Mit dem [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/posts\/29"}],"collection":[{"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.glorf.it\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}