public static function ParsedMarkdownInterface::create in Markdown 3.0.x
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/
ParsedMarkdown.php - Creates new ParsedMarkdown object.
File
- src/
ParsedMarkdownInterface.php, line 48
Class
Namespace
Drupal\markdownCode
public static function create($markdown = '', $html = '', LanguageInterface $language = NULL);