lib/utilities.js
function(path, callback) {
		fs.readFile(path, 'utf8', function(err, data) {
			if (!err) {
				marked.setOptions({
					gfm: true,
					tables: true,
					breaks: false,
					pedantic: false,
					sanitize: true,
					smartLists: true,
					smartypants: false,
					langPrefix: 'language-',
					highlight: function(code, lang) {
						return code;
					}
				});
				data = marked(data);
			}
			callback(err, data);
		});
	}
function(path, callback) {
		fs.readFile(path, 'utf8', function(err, data) {
			if (!err) {
				marked.setOptions({
					gfm: true,
					tables: true,
					breaks: false,
					pedantic: false,
					sanitize: true,
					smartLists: true,
					smartypants: false,
					langPrefix: 'language-',
					highlight: function(code, lang) {
						return code;
					}
				});
				data = marked(data);
			}
			callback(err, data);
		});
	}
function ( path , callback ) { fs . readFile ( path , 'utf8' , function ( err , data ) { if ( ! err ) { marked . setOptions ( { gfm : true , tables : true , breaks : false , pedantic : false , sanitize : true , smartLists : true , smartypants : false , langPrefix : 'language-' , highlight : function ( code , lang ) { return code ; } } ) ; data = marked ( data ) ; } callback ( err , data ) ; } ) ; }
read a file and converts the markdown to HTML
read a file and converts the markdown to HTML