Publish Code in WordPress

Publish Code in WordPress

It is may be dificult for people to Publish Code in WordPress. I have tried to use <textarea> and it wont work perfectly. Change < into &lt; is not user friendly. However, Publish Code in WordPress is not that hard.

First, know what code you are using, it might be one of these codes:

Bash —> bash
C++ —> cpp
C# —> csharp
CSS —> css
Delphi —> delphi, pascal
Diff —> diff
Groovy —> groovy
Java —> java
JavaScript —> jscript, javascript
Perl —> perl
PHP —> php
Plain text —> plain, text
Python —> python
Ruby —> ruby
Scala —> scala
SQL —> sql
VB —> vb
XML/HTML —> xml, html, xhtml

Second, type the wordpress tag

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: