---
title: Markdown
---

# Markdown

<div class="documentation__toc"></div>

## Introduction

The markdown service is an extended [markdown](https://en.wikipedia.org/wiki/Markdown) parser.


## Basic Usage

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

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

$markdown = new Markdown();
```

### parse

The `parse` method returns parsed markdown from provided `text`.

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

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