<?php require __DIR__."/vendor/autoload.php"; $source = file_get_contents(dirname(__FILE__)."/README.md"); //$source = file_get_contents(dirname(__FILE__)."/tests/paragraph.md"); //$source = file_get_contents(dirname(__FILE__)."/tests/list.md"); echo " <style> body { font-family: sans-serif; } table { width: 100%; } </style> "; $Instance = new parkdown\Parkdown($source); echo $Instance->html();