Camaradas,
Eu recomendo:
Developer Formatter
-
O Developer Formatter (Formatador para desenvolvedores) é um plugin fantástico para qualquer programador que se preze, facilita em uns 200% a publicação de códigos, exemplos, dicas e outros sobre uma vasta lista de linguagens suportadas. Tem um sistema inteligente de formatação que identifica códigos JavaScript e CSS em códigos HTMLs e o mesmo é feito com PHP. Utiliza o sistema de evidência de código GeSHi ( Syntax Highlighter ) que roda no seu servidor web.
As principais vantagens:
Um pequeno exemplo da capacidade do Developer Formatter:
| HTML | | copy code | | ? |
| 01 | <html> |
| 02 | <head> |
| 03 | <title>Html Test</title> |
| 04 | <script language="JavaScript"> |
| 05 | <!-- |
| 06 | /* My Javascript code */ |
| 07 | function MyJSFunction(AParam){ |
| 08 | alert('Param: ' + AParam); |
| 09 | } |
| 10 | var Variable = new Array(15.0, 30.0, 45, "test", MyJSFunction); |
| 11 | //--> |
| 12 | </script> |
| 13 | |
| 14 | <style type="text/css"> |
| 15 | /* My CSS structure */ |
| 16 | body { |
| 17 | background: transparent url("bg.gif") no-repeat 0% 0%; |
| 18 | font-family: verdana; |
| 19 | font-size: 16px; |
| 20 | } |
| 21 | table, table tr, table tr td { |
| 22 | padding: 0; |
| 23 | margin: 0; !important; |
| 24 | } |
| 25 | div#bullet { |
| 26 | font-weight: bold; |
| 27 | } |
| 28 | .hints { |
| 29 | font-style: italic; |
| 30 | } |
| 31 | </style> |
| 32 | </head> |
| 33 | <body topmargin="1"> |
| 34 | <table width="100%"> |
| 35 | <tr><td align="left" valign="middle"> |
| 36 | Table test 1 |
| 37 | </td></tr> |
| 38 | |
| 39 | <tr><td> |
| 40 | Table test 2 |
| 41 | </td></tr> |
| 42 | |
| 43 | <tr><td valign="middle"> |
| 44 | Table test 3 |
| 45 | </td></tr> |
| 46 | </table> |
| 47 | </body> |
| 48 | </html> |
teste
Faça o download no site do WordPress: http://wordpress.org/extend/plugins/devformatter/
Demais exemplos e comentários:
http://gsaraiva.projects.pro.br/?developer-formatter

