Exemple #1
0
 public function render()
 {
     if ($content = $this->getContent()->getContent()) {
         return '<div class="markdown">' . $this->markdowner->transform($content) . '</div>';
     }
 }
 public function markdown($text)
 {
     return $this->markdowner->transform($text);
 }