Download the PHP package php-school/cli-md-renderer without Composer
On this page you can find all versions of the php package php-school/cli-md-renderer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-school/cli-md-renderer
More information about php-school/cli-md-renderer
Files in php-school/cli-md-renderer
Download php-school/cli-md-renderer
More information about php-school/cli-md-renderer
Files in php-school/cli-md-renderer
Vendor php-school
Package cli-md-renderer
Short Description A CLI Markdown Render for league/commonmark compatible AST
License MIT
Package cli-md-renderer
Short Description A CLI Markdown Render for league/commonmark compatible AST
License MIT
Please rate this library. Is it a good library?
Informations about the package cli-md-renderer
CLI Markdown Renderer
<img src="https://github.com/AydinHassan/cli-md-renderer/workflows/CliMdRenderer/badge.svg">
Usage
Syntax Highlighting
FencedCode
can be syntax highlighted. By default only PHP source code is Syntax Highlighted using: kadet/keylighter
If you want to add syntax highlighting for other languages you should create a class which implements \AydinHassan\CliMdRenderer\SyntaxHighlighterInterface
It accepts code as a string and should return highlighted code as a string. You register your highlighter like so
If you need to do this you cannot use the factory so construction will look something like:
To Do
- [ ] Make configurable (Line Endings, colors, styles)
- [x] Image Renderer
- [x] List Renderer
- [x] Code Syntax Highlighting
- [x] Documentation
All versions of cli-md-renderer with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
league/commonmark Version ^1.5.6
php-school/keylighter Version ^0.8.4
kevinlebrun/colors.php Version ^1.0
league/commonmark Version ^1.5.6
php-school/keylighter Version ^0.8.4
kevinlebrun/colors.php Version ^1.0
The package php-school/cli-md-renderer contains the following files
Loading the files please wait ....