you can use the [sourcecode]
shortcode on WordPress.com which is built in for you, no need to install or configure anything.
For example to get this results :
just wrap your code in these tags:
[sourcecode language="css"]
your code here
[/sourcecode]
you can see a list of supported languages and a few other parameters you can use with this shortcode at http://en.support.wordpress.com/code/posting-source-code/
Related Posts:
- Removing the WordPress.com ribbon
- Moving WordPress.com site to personal domain intact
- Syntax highlighting for post/page editor [closed]
- Math notation on WordPress.com?
- Formatting Code Snippets on Free WordPress.com Account?
- Highlight Syntax Inline
- Syntax Highlighter XML striping
- Using WordPress publicize with main account and editor user accounts
- Who owns the content posted on .wordpress.com blogs? [closed]
- Can I integrate Google Analytics with my blog, hosted at wordpress.com?
- Redirecting traffic from old “.WordPress.com” blog to privately hosted WordPress blog?
- Is it possible to use wordpress.com with a custom domain without switching nameservers?
- Can I use AdSense on a free wordpress blog? [closed]
- Reblog wordpress.com posts on self hosted
- Import and export links from WordPress.com to private site
- Migrating from WordPress.com to self-hosted site and autoforward visitors?
- Creating external apps WordPress / How they work
- How to search and replace text in all posts of a wordpress.com blog (NOT wordpress.org one)?
- Ads Restricted on WordPress.com?
- Do I need to use a new WordPress.com account for each Jetpack installation
- Implications of changing wordpress.com associated with Jetpack [closed]
- WordPress.com vs WordPress.org
- How can I transfer followers from WordPress.com to a self-hosted WordPress?
- Feature Differences between WordPress.com and Hosting on your Own Server?
- How do I disable trackback notifications on a WordPress.com blog?
- Is there any way I can put google ads on wordpress.com? [closed]
- Changing $latex $ equation background color globally
- Blog in multiple languages on WordPress.com?
- Can I move to wordpress.org and continue to be included as a wordpress.com favorite blog?
- If I backup my wordpress blog, how can I back-up all the external images I’ve embedded?
- Proper implementation/use of code/syntax highlighting
- How to change the language of a wordpress.com blog?
- “Connect” my personal website to wordpress.com
- Unknown Posts added to my wordpress website from nowhere [closed]
- code highiglight not working comment
- Does wordpress.com appears in the URL if I buy custom domain service from WP.com
- Adding existing domain name to WordPress.com
- List WordPress.org Blog on WordPress.com
- How to intergrate wordpress.com with twitter like the way it is with facebook?
- What is the difference between WordPress Business plan vs self hosted WordPress (WordPress developer perspective)? [closed]
- Is a *.wordpress.com blog easy to migrate?
- Self-hosted blog Admin Panel Forwarding to WP.com
- How much effort to migrate from .com to .org
- How to get a retweet button on my wordpress.com blog?
- WordPress.com podcast feed missing iTunes tags?
- hosted wordpress.com to local directory?
- How do I associate a domain, with an existing WordPress blog? [closed]
- My Syntax Highlighter Died, What Now?
- Newlines in WordPress.com blog?
- Will “Google XML Sitemaps” plugin work without “wp_head();”
- Use ColdFusion to pull in WP.com posts?
- Your own Bookmarklet in a blog
- Difference between WordPress and Tumblr?
- Formatting error with source code on WordPress.com?
- What is the http://go2.wordpress.com/ redirect?
- Is there a way to check in the dashboard if I am using a separate installation or WordPress.com?
- WordPress 5.1 and Syntax highlighter, problem with HTML encoded special characters
- Creating a staging area for WordPress.com site
- How to redeploy a free WordPress site to another IP?
- Is there any better way to write math in latex other than $latex **$
- What is files.wordpress.com?
- Visual Editor not working properly
- Source code get entity escaped after migrating
- How can I do syntax highlighting for files included with a custom shortcode?
- How to filter PHP opener?
- Transferring standalone wordpress blog to the one under **.wordpress.com
- WordPress.com-registered domains
- Is it possible to use github:gist with WordPress? [closed]
- WordPress.com how are ‘related posts’ determined? [closed]
- In what file I should include my code if I want content to come up on top of everything?
- How do I transfer from a self hosted blog to WordPress.com?
- How to display different styles on index posts in wordpress pages? [closed]
- How to make that all permalinks would open in a new window?
- Add icons to bullet list in wordpress [closed]
- Why i cant change my alignment?
- Subdirectory Folder access with with Specific URL (post /subPage or sub.domain.com/)
- How do I allow ipv6 traffic for my WordPress website?
- wordpress site name by url query string
- What are the differences between managed WordPress hosting and dedicated WordPress hosting? [closed]
- Alternative to wordpress.com for free WordPress hosting?
- Migrating a WordPress site from One Hosting Provider to Another?
- Code Formatted with SyntaxHighlighter Evolved Appearing Incorrectly on iPad/iPhone
- How to work with Syntax Highlighter Evolved?
- How to stop wordpress mangling R syntax ‘
- API for Post Stats for Self-Hosted WordPress using JetPack [closed]
- syntax highlighting for theme-editor.php?
- “508 Resource Limit Is Reached” on WordPress site
- How do I display the main domain for my WordPress install?
- Why is WordPress filtering Pastebin URL’s
- Different Server for Images
- Server specification [closed]
- WP-Syntax plugin not working [closed]
- Theme seems to have different options on wordpress.com and own-server install
- How can I figure out what is making my WordPress site so slow?
- WP website won’t accept any new content – need dedicated hosting?
- What’s the best way to redirect to a new wordpress website?
- Synchronize wordpress site between two different servers
- Content instead Excerpt on term
- Reply form used in wordpress.com
- Your PHP installation appears to be missing the MySQL … After deleting and restarting from cpanel