Archive
Posts Tagged ‘Soruce Code’
[Link] Posting Source Code in WordPress
October 15, 2011
Leave a comment
[ sourcecode language=”css” ]
your code here
[ /sourcecode ]
The language parameter controls how the code is syntax highlighted. The following languages are supported:
actionscript3
bash
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
If the language parameter is not set, it will default to “text” (no syntax highlighting).