This blog officially has syntax highlighting!
BASH
# Hello world for the Unix shells (sh, ksh, csh, zsh, bash, fish, xonsh, ...) echo Hello World
JavaScript
// Hello World in JavaScript
document.write('Hello World');
PHP
// Hello world in PHP echo 'Hello World!';
Plain Text
Hello, world!
Python
# Hello world in Python 2
print "Hello World"
# Hello world in Python 3 (aka Python 3000)
print("Hello World")
Ruby
# Hello World in Ruby puts "Hello World!"
Are you using http://alexgorbatchev.com/SyntaxHighlighter/hosting.html ?
ReplyDeleteIf so? How did you install it in blogger???
I am having these issues:
GET https://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css net::ERR_CONNECTION_REFUSED
https://alexgorbatchev.com/pub/sh/current/scripts/shCore.js net::ERR_CONNECTION_REFUSED
https://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js net::ERR_CONNECTION_REFUSED
I tried //path/to/highlighter
and http://path/to/highlighter
But nothing works :(
Any help?