PHP code example of phppkg / cli-markdown

1. Go to this page and download the library: Download phppkg/cli-markdown 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/ */

    

phppkg / cli-markdown example snippets




use PhpPkg\CliMarkdown\CliMarkdown;

R__) . '/README.md');
$praser = new CliMarkdown;

$rendered = $praser->render($contents);

echo $rendered;