view app/assets/javascripts/init.tabs.js @ 101:17f682a53b13

Added horizontal line because I can.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 11:09:25 +0700
parents 90b59418828a
children a8768ad51926
line wrap: on
line source

$(document).ready(function() {
  raw = $('#plain > pre').text();
  $('#highlight > pre').text(raw);
  $('#markdown > div').html(marked(raw));
  window.prettyPrint && prettyPrint();
});