To enter text in the blog using the style of a programming language simply enter the text in the following entries:

Note.- In this example we have introduced blanks to not interpret it as source code and can see the syntax to use.

[ sourcecode language="sql" ]
<!-- Aquí iría el código fuente -->
[ / sourcecode ]

I hope someday TinyMCE plugin facilitates this by including a button with all permitted languages.

So far we know the languages ​​accepted accessing this page wordpress:

http://en.support.wordpress.com/code/posting-source-code/

  • ActionScript3
  • bash
  • clojure
  • coldfusion
  • cpp
  • csharp
  • css
  • delphi
  • erlang
  • FSharp
  • diff
  • groovy
  • html
  • javascript
  • Java
  • javafx
  • matlab (keywords only)
  • objc
  • perl
  • php
  • text
  • powershell
  • python
  • r
  • ruby
  • scala
  • sql
  • vb
  • xml
Advertisements

Use of cookies

This site uses cookies for you to have the best user experience. If you continue to browse you are giving your consent to the acceptance of the above cookies and acceptance of our cookies policy, Click the link for more information.

OK
Notice of cookies

Pin it on Pinterest

Share This

Share

Share this with your friends!

Veo que te gusta mi Blog...

Si te ha parecido interesante este artículo, no esperes a suscribirte a mi blog. Cuando vuelva a escribir otro seguro que te interesará y no desearás no haberte enterado. Puedes suscribirte con total tranquilidad de que no recibirás spam. Lo odio igual que tu. Solo quiero que aprendas cosas nuevas y te sientas agusto con mis artículos. ¡Gracias!

Thank you for subscribing!