Automatically converts markdown files to HTML with Steal and Showdown
window.docee = {
markdown: {}
};
steal.type("md text", function( options, success, error ) {
var converter = new Showdown.converter();
options.text = converter.makeHtml(options.text);
docee.markdown[options.id +''] = options.text;
success();
});
steal('ui/tooltip/README.md', function(){
$('.content').html(docee.markdown[url]);
});