/** * Get the evaluated contents of the view. * * @param string $path * @param array $data * * @return string */ public function get($path, array $data = []) { $contents = parent::get($path, $data); $Parser = new Parser(); return $Parser->parse($contents); //return $this->reStructuredText->convertToHtml($contents); }
public function get($path, array $data = array()) { $env = (object) $data['__env']; $result = parent::get($path, $data); $env->decrementRender(); $doneRendering = $env->doneRendering(); $env->incrementRender(); $doneRendering && ($result = Fis::filter($result)); return $result; }
/** * Get the evaluated contents of the view. * * @param string $path * @param array $data * * @return string */ public function get($path, array $data = []) { $contents = parent::get($path, $data); return $this->markdown->convertToHtml($contents); }
/** * Get the rendered contents * * @param string $path * @param array $data * @return mixed */ public function get($path, array $data = []) { $contents = parent::get($path, $data); return $this->getRenderer()->render($contents); }
public function get($path, array $data = array()) { return Facades\Textile::string(parent::get($path, $data)); }
public function get($path, array $data = array()) { $contents = parent::get($path, $data); return $this->parser->transformExtra($contents, false); }
/** * Get the evaluated contents of the view. * * @param string $path * @param array $data * @return string * @throws \Exception */ public function get($path, array $data = []) { $arguments = $data; foreach ($this->argumentBlacklist as $argument) { unset($arguments[$argument]); } $this->validate($path, $arguments); return parent::get($path, $data); }