PHP code example of pixlmint / parsedown
1. Go to this page and download the library: Download pixlmint/parsedown 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/ */
pixlmint / parsedown example snippets
use PixlMint\Parsedown\Parsedown;
$Parsedown = new Parsedown();
echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
echo $Parsedown->line('Hello _Parsedown_!'); # prints: Hello <em>Parsedown</em>!
$Parsedown->setSafeMode(true);
$Parsedown->setMarkupEscaped(true);