PHPackages                             phppkg/cli-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. [CLI &amp; Console](/categories/cli)
4. /
5. phppkg/cli-markdown

ActiveLibrary[CLI &amp; Console](/categories/cli)

phppkg/cli-markdown
===================

Render colored markdown contents on console terminal

v2.0.3(1y ago)94.5k↓100%1[3 issues](https://github.com/phppkg/cli-markdown/issues)4MITPHPPHP &gt;8.0.0CI passing

Since Aug 12Pushed 5mo ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (7)Used By (4)

CLI-Markdown
============

[](#cli-markdown)

[![License](https://camo.githubusercontent.com/66c97b3447eb5cea16f1b3e8dd346057423ea2a68b9980379693fcc9a4699a14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706870706b672f636c692d6d61726b646f776e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Php Version](https://camo.githubusercontent.com/65227e7fae37c036fd8164e07a1ffdc8c24f8a7114ab0c07749f14b057871999/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e302e302d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/phppkg/cli-markdown)[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/4b6cd6b9e9bbe9417f8d62d911d6dcfda662e2e3c15a72499f1c96717cac937e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f706870706b672f636c692d6d61726b646f776e)](https://github.com/phppkg/cli-markdown)[![Actions Status](https://github.com/phppkg/cli-markdown/workflows/Unit-Tests/badge.svg)](https://github.com/phppkg/cli-markdown/actions)

Render colored markdown contents on console terminal

**Preview**

> run demo by `php example/demo.php`

[![demo](example/demo.png)](example/demo.png)

Features
--------

[](#features)

- support auto render color on terminal
- support custom set cli color tags

Install
-------

[](#install)

**composer**

```
composer require phppkg/cli-markdown
```

Usage
-----

[](#usage)

quick usage:

```
