Source Code Docs

MarkdownConverter
in package

Wrapper for the Commonmark Markdown Converter Singleton registered in the Service Provider

Converts CommonMark-compatible Markdown to HTML.

Tags
uses
MarkdownPreprocessor

Table of Contents

$markdown  : string
The Markdown string to be converted into HTML
__construct()  : mixed
Construct the class
parse()  : string

Properties

$markdown

The Markdown string to be converted into HTML

protected string $markdown

Methods

__construct()

Construct the class

public __construct(string $markdown) : mixed
Parameters
$markdown : string
Return values
mixed

Search results