You are here

public function ParsedMarkdown::__toString in Markdown 3.0.x

Returns markup.

Return value

string The markup.

Overrides MarkupInterface::__toString

1 call to ParsedMarkdown::__toString()
ParsedMarkdown::jsonSerialize in src/ParsedMarkdown.php

File

src/ParsedMarkdown.php, line 90

Class

ParsedMarkdown

Namespace

Drupal\markdown

Code

public function __toString() {
  return $this
    ->getHtml();
}