Download the PHP package sevenecks/markdown-terminal without Composer
On this page you can find all versions of the php package sevenecks/markdown-terminal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sevenecks/markdown-terminal
More information about sevenecks/markdown-terminal
Files in sevenecks/markdown-terminal
Package markdown-terminal
Short Description convert markdown to terminal output in php
License MIT
Homepage https://github.com/sevenecks/markdown-terminal
Informations about the package markdown-terminal
Markdown-Terminal
This project is an extension of Markdown that adds the ability to convert markdown to terminal output instead of HTML.
This is just a little hobby project I wrote to support a terminal based markdown note taker in PHP. The conversion does it's best, but it's by no means complete or bug free. I'll improve it as my needs demand but use this at your own risk, and don't expect it to look super pretty at this point :)
You can use the setConfig function to set various config options for colorizing the output.
Installation
Via Composer
Example Usage
protected function renderStrong($block) { return \$this->colorize->bold(\$this->renderAbsy($block[1])); } \
Known Issues
- quoted quotes do not work
- specifying a language after three backticks (`) does not work and will format weirdly.
- Every now and then wonkiness happens with list items
- strikethrough won't work on all terminal emulators
Change Log
Please see Change Log for more information.
License
The MIT License (MIT). Please see License File for more information.
All versions of markdown-terminal with dependencies
sevenecks/string-utils Version ^0.0.15
cebe/markdown Version ~1.2.0
sevenecks/ansi Version ^1.0