pforret/php_markdown_writer

Write Markdown documents

0.3.8 2022-07-28 16:13 UTC

This package is auto-updated.

Last update: 2024-05-28 20:25:06 UTC


README

Github: GitHub tag Tests Psalm Styling

Packagist: Packagist Version Packagist Downloads

Write Markdown documents

created on 2022-01-14 by peter@forret.com

Installation

You can install the package via composer:

composer require pforret/php_markdown_writer

Usage

$obj = new Pforret\PhpMarkdownWriter("output.md");
echo $obj->h1('Output Report');
echo $obj->h2('Input');
echo $obj->paragraph('Lorem ipsum');
echo $obj->h2('Output');
echo $obj->bullet('point 1');
echo $obj->bullet('point 2');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.