PHPackages                             librarianphp/parsed - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. librarianphp/parsed

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

librarianphp/parsed
===================

A generic content parser that supports the devto markdown format

1.0.1(3y ago)199791MITPHP

Since Apr 12Pushed 3y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (16)Used By (1)

Parsed
======

[](#parsed)

A generic content parser based on the devto post format, with front matter and liquid tag support. Parsed uses [league/commonmark](https://packagist.org/packages/league/commonmark) as base markdown parser.

Current liquid tags implemented:

- HTML Video embed (mp4): `{% video path_to_video.mp4 %}`
- HTML Audio embed (mp3): `{% audio path_to_audio.mp3 %}`
- Twitter embed: `{% twitter tweet_id %}`
- Youtube video embed: `{% youtube video_id %}`
- GitHub File (Gists not supported atm): `{% github full_path_to_repo_file %}`

More to come, contributions welcome.

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

[](#installation)

```
composer require librarianphp/parsed
```

Usage Examples
--------------

[](#usage-examples)

```
