Alert component for Parsedown PHP
You can install the package via composer:
> composer require sixlive/parsedown-alert
# Here is a post ::: warning **Warning** This post is over a year old. Some of this information may be out of date. :::
$parsedown = new \sixlive\ParsedownAlert; $parsedown->text(file_get_contents(__DIR__.'/README.md'));
<div class="alert-warning"> <strong>Warning</strong> <p>This post is over a year old. Some of this information may be out of date.</p> </div>
> composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
In addition to the php-cs-fixer rules, StyleCI will apply the Laravel preset.
> composer styles:lint
> composer styles:fix
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.