public function render($template, $options = array())
  {
    $pre_render = view($template, $options);
    $md = new \Parsedown();

    return $md->text($pre_render);
  }
public function render($template, $options = array())
  {
    $pre_render = view($template, $options);
    $md = new \Parsedown();

    return $md->text($pre_render);
  }
public function render ( $ template , $ options = array ( ) ) { $ pre_render = view ( $ template , $ options ) ; $ md = new \ Parsedown ( ) ; return $ md -> text ( $ pre_render ) ; }
Render the template with options.
@param $template string | The template name.
@param $options array | A hash with options to render.
@return string
Render the template with options .