function(type, text) {
            var parser = parsers.get(type);

            return parser.parsePage(text)
                .get('content');
        }
function(type, text) {
            var parser = parsers.get(type);

            return parser.parsePage(text)
                .get('content');
        }
function ( type , text ) { var parser = parsers . get ( type ) ; return parser . parsePage ( text ) . get ( 'content' ) ; }
Render a block of text (markdown/asciidoc)

@param {String} type
@param {String} text
@return {Promise<String>}
Render a block of text ( markdown / asciidoc )
Parse a page