PHP code example of pforret / php_markdown_writer
1. Go to this page and download the library: Download pforret/php_markdown_writer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pforret / php_markdown_writer example snippets
bash
composer
php
$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');