Markdown

Introduction

The markdown service is an extended markdown parser.

Basic Usage

You can use the markdown utility by using the \Anomaly\Streams\Platform\Support\Markdown class.

use \Anomaly\Streams\Platform\Support\Markdown;

$markdown = new Markdown();

parse

The parse method returns parsed markdown from provided text.

use \Anomaly\Streams\Platform\Support\Markdown;

$content = (new Markdown())->parse($content);