How did this guy add custom javascript to his blog?

  • Unknown's avatar

    Maybe I am missing something easy, but I really like how this blog has code syntax highlighting:

    Code example of using REST in Ruby on Rails

    I am trying to do the same thing myself and can’t figure out how he did it. I see at the bottom of the source for his page is custom javascript includes. I was under the impression that was not doable for hosted blogs at wordpress.com. Is there a way to do custom javascript includes at the bottom of your blog?

    Thanks for your help.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    He did it (and so can you) with the sourcecode shortcode – see here:

    Code

    We cannot use javascript; what you see in the source of the page is a different story: java or flash controlled by WP, not by us.

  • The topic ‘How did this guy add custom javascript to his blog?’ is closed to new replies.