Download the PHP package buzzylab/laradown without Composer
On this page you can find all versions of the php package buzzylab/laradown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laradown
Laradown
A New Markdown parser for Laravel built on Parsedown and Parsedown Extra.
Installation
The best and easiest way to install this package is through Composer.
Compatibility
This package fully compatible with Laravel above 5.4.
Require Package
Open your application's composer.json file and add the following line to the require array:
Note: Make sure that after the required changes your
composer.jsonfile is valid by runningcomposer validate.
After installing the package, open your Laravel config file located at config/app.php and add the following service provider to the $providers array:
Note: Checkout Laravel's Service Providers and Service Container documentation for further details.
And add the following to $aliases
Usage
That's all.
Blade Directive:
Use @markdown directive with parameter:
Use @markdown with @endmarkdown as directive block:
Add style to your converted html with @markdownstyle
Helper Functions:
markdown($markdown)
Convert markdown content to html
markdown_style()
Add style to converted html
License
This software is released under The MIT License (MIT).
All versions of laradown with dependencies
illuminate/filesystem Version ~6.0|~7.0|~8.0
illuminate/events Version ~6.0|~7.0|~8.0
illuminate/container Version ~6.0|~7.0|~8.0
illuminate/contracts Version ~6.0|~7.0|~8.0
erusev/parsedown Version ^1.7.4
erusev/parsedown-extra Version ^0.8