You are here

public function ParsedMarkdown::getMarkdown in Markdown 8.2

Retrieves the raw markdown source.

Return value

string The markdown source.

Overrides ParsedMarkdownInterface::getMarkdown

2 calls to ParsedMarkdown::getMarkdown()
ParsedMarkdown::getId in src/Render/ParsedMarkdown.php
Retrieves the identifier for this object.
ParsedMarkdown::matches in src/Render/ParsedMarkdown.php
Compares whether the provided markdown matches this object.

File

src/Render/ParsedMarkdown.php, line 144

Class

ParsedMarkdown
The end result of parsing markdown into HTML.

Namespace

Drupal\markdown\Render

Code

public function getMarkdown() {
  return static::normalizeMarkdown($this->markdown);
}