You are here

public static function ParsedMarkdownInterface::create in Markdown 8.2

Creates new ParsedMarkdown object.

Parameters

string $markdown: The raw markdown.

string $html: The parsed HTML from $markdown.

\Drupal\Core\Language\LanguageInterface|null $language: The language of the parsed markdown, if known.

Return value

static

1 method overrides ParsedMarkdownInterface::create()
ParsedMarkdown::create in src/Render/ParsedMarkdown.php
Creates new ParsedMarkdown object.

File

src/Render/ParsedMarkdownInterface.php, line 33

Class

ParsedMarkdownInterface
Interface parsed markdown instances.

Namespace

Drupal\markdown\Render

Code

public static function create($markdown = '', $html = '', LanguageInterface $language = NULL);