isInline ? Str::inlineMarkdown($this->text) : Str::markdown($this->text); } public function __toString(): string { return $this->toHtml(); } }