You are here

public function ParsedMarkdown::__toString in Markdown 8.2

Returns markup.

Return value

string The markup.

Overrides MarkupInterface::__toString

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

File

src/Render/ParsedMarkdown.php, line 85

Class

ParsedMarkdown
The end result of parsing markdown into HTML.

Namespace

Drupal\markdown\Render

Code

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