PHP code example of sixlive / parsedown-highlight
1. Go to this page and download the library: Download sixlive/parsedown-highlight 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/ */
sixlive / parsedown-highlight example snippets
echo 'foo';
\
$parsedown = new \sixlive\ParsedownHighlight;
$parsedown->text(file_get_contents(__DIR__.'/README.md'));
$parsedown = new \sixlive\ParsedownHighlightExtra;
$parsedown->text(file_get_contents(__DIR__.'/README.md'));