This package is a wrapper around erusev/parsedown for Laravel. Parsedown is a Markdown syntax Parser.
Laravel | Laraparse |
---|---|
5.5.x | 1.2.x |
5.6.x | 1.2.x |
composer require lkeio/laraparse
- On your Controller
public function index()
{
// Insert Here your Markdown or Read it from your DB
$text = '# MarkDown Syntax';
return view('index', compact('text'));
}
- On your View
@laraparse($text)
On the root Package directory run :
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/LaraparseTests
I use SemVer for versioning. For the versions available, see the tags on this repository.
- Larbi Kamal Elguerch - All projects - lkeio
This project is licensed under the MIT License - see the LICENSE file for details