code: public function markdown($contents)
      {
          $contents = app('markdown')->convertToHtml($contents);
  
          if (! is_null($this->cachePath)) {
              $this->files->put($this->getCompiledPath($this->getPath()), $contents);
          }
  
          return $contents;
      }
docs: Compile the view's markdown with given contents.
  
  @param  string  $contents
  @return void