Documentation

ConverterInterface extends MarkdownConverterInterface

Interface for a service which converts CommonMark to HTML.

Tags
deprecated

ConverterInterface is deprecated since league/commonmark 1.4, use MarkdownConverterInterface instead

Table of Contents

convertToHtml()  : string
Converts Markdown to HTML.

Methods

convertToHtml()

Converts Markdown to HTML.

public convertToHtml(string $markdown) : string
Parameters
$markdown : string
Tags
throws
RuntimeException
Return values
string

HTML

Search results