How to have syntax highlighting in wordpress.com blogs?

WordPress.com uses Alex Gorbatchev’s SyntaxHighlighter so all you need to do is use the right shortcode ex: [code language=”css”] #button { font-weight: bold; border: 2px solid #fff; } [/code] which gives you something like this: it has more features and you can see a list of supported languages at http://en.support.wordpress.com/code/posting-source-code/

Highlight Syntax Inline

If you still want to use SO-type backtick markup for styling your inline code examples, I’ve created some code that will accomplish it. To make it into your own plug-in, just add the code below to your functions.php. It calls the wordpress filter “the_content” to apply the transformation to the content when it is displayed, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)