Beispiel #1
0
 public function setDescriptionAttribute($value)
 {
     $markdown = new Markdowner();
     $this->attributes['description'] = $markdown->toHTML($value);
 }
Beispiel #2
0
 public function setContentAttribute($value)
 {
     $markdown = new Markdowner();
     $this->attributes['content'] = $markdown->toHTML($value);
 }