Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phppkg/cli-markdown
Render colored Markdown contents on console terminal
https://github.com/phppkg/cli-markdown
cli markdown
Last synced: 3 months ago
JSON representation
Render colored Markdown contents on console terminal
- Host: GitHub
- URL: https://github.com/phppkg/cli-markdown
- Owner: phppkg
- License: mit
- Created: 2021-08-12T12:10:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T03:23:18.000Z (12 months ago)
- Last Synced: 2024-11-27T20:19:53.116Z (3 months ago)
- Topics: cli, markdown
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CLI-Markdown
[](LICENSE)
[](https://packagist.org/packages/phppkg/cli-markdown)
[](https://github.com/phppkg/cli-markdown)
[](https://github.com/phppkg/cli-markdown/actions)Render colored markdown contents on console terminal
**Preview**
> run demo by `php example/demo.php`

## Features
- support auto render color on terminal
- support custom set cli color tags## Install
**composer**
```bash
composer require phppkg/cli-markdown
```## Usage
quick usage:
```php
render($contents);echo $rendered;
```## Base on
package | description
---------|--------------
`cebe/markdown` | parse markdown contents
`toolkit/cli-utils` | provide cli color render## License
[MIT](LICENSE)