'use strict'; require('mocha'); var assert = require('assert'); var fs = require('fs'); var hbs = require('handlebars').create(); var helpers = require('..'); helpers.markdown({handlebars: hbs}); describe('markdown', function() { describe('markdown', function() { it('should render markdown using the {{#markdown}} block helper', function() { var template = hbs.compile('{{#markdown}}## {{../title}}{{/markdown}}'); assert.equal(template({title: 'Markdown Test'}), '