PHPackages                             lemaur/markdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. lemaur/markdown

ActiveLibrary[Templating &amp; Views](/categories/templating)

lemaur/markdown
===============

Another Markdown parsers but with super powers

2.2.0(2mo ago)06.2k1MITPHPPHP ^8.1CI passing

Since Jun 17Pushed 2mo agoCompare

[ Source](https://github.com/leMaur/markdown)[ Packagist](https://packagist.org/packages/lemaur/markdown)[ Docs](https://github.com/lemaur/markdown)[ GitHub Sponsors](https://github.com/lemaur)[ RSS](/packages/lemaur-markdown/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (22)Used By (1)

Markdown parser with superpowers
================================

[](#markdown-parser-with-superpowers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d1daca145b2cfc38cfad7c22deb5d5c75ee9ca49b930a7f59491565ba46a3e31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656d6175722f6d61726b646f776e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lemaur/markdown)[![Total Downloads](https://camo.githubusercontent.com/4e5270ac894f931e1760680670e00874f1b67cc0d46df0fbbd5fe6c4411fde08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656d6175722f6d61726b646f776e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lemaur/markdown)[![License](https://camo.githubusercontent.com/afd21b81ba2f8cd195c138385043a5f020cd04326fc8938672106863b59ab354/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c656d6175722f6d61726b646f776e2e7376673f7374796c653d666c61742d73717561726526636f6c6f723d79656c6c6f77)](https://github.com/leMaur/markdown/blob/main/LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/95c6ad85a40a49780eb1b0a317d34fcaf35721dfa70e8bbd9d569aca5449cfa4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656d6175722f6d61726b646f776e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/leMaur/markdown/actions/workflows/run-tests.yml)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/38775e4eae04caa4975f847c8aed9feff98e75d149254aaede7cc791055547b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c656d6175722f6d61726b646f776e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/leMaur/markdown/actions/workflows/fix-php-code-style-issues.yml)[![GitHub Sponsors](https://camo.githubusercontent.com/67130ea26c0cdbb7c18af5c1fd1c7995f000bc3da607abffed1e39d789f48b2f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f6c656d6175723f7374796c653d666c61742d73717561726526636f6c6f723d656134616161)](https://github.com/sponsors/leMaur)[![Trees](https://camo.githubusercontent.com/f12f2059f308501188008a8639ea876a9d8f8f3ce4047ea60b328985fc08b312/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f636f6c6f723d79656c6c6f77677265656e267374796c653d666c61742d737175617265266c6162656c3d54726565732671756572793d2532342e746f74616c2675726c3d68747470732533412532462532467075626c69632e6f66667365742e656172746825324675736572732532466c656d6175722532467472656573)](https://ecologi.com/lemaur?r=6012e849de97da001ddfd6c9)

Support Me
----------

[](#support-me)

Hey folks,

Do you like this package? Do you find it useful and it fits well in your project?

I am glad to help you, and I would be so grateful if you considered supporting my work.

You can even choose 😃:

- You can [sponsor me 😎](https://github.com/sponsors/leMaur) with a monthly subscription.
- You can [buy me a coffee ☕ or a pizza 🍕](https://github.com/sponsors/leMaur?frequency=one-time&sponsor=leMaur) just for this package.
- You can [plant trees 🌴](https://ecologi.com/lemaur?r=6012e849de97da001ddfd6c9). By using this link we will both receive 30 trees for free and the planet (and me) will thank you.
- You can "Star ⭐" this repository (it's free 😉).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lemaur/markdown
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Lemaur\Markdown\MarkdownServiceProvider" --tag="markdown-config"
```

Usage
-----

[](#usage)

```
use Lemaur\Markdown;

$markdown =
