diff --git a/app/Commands/BuildCommand.php b/app/Commands/BuildCommand.php index 7f3a89c..5166b74 100644 --- a/app/Commands/BuildCommand.php +++ b/app/Commands/BuildCommand.php @@ -38,7 +38,7 @@ public function handle(): int protected function buildItem(Content $item, MarkdownRenderer $renderer): void { - $this->info('Building ' . $item->path . '...'); + echo 'Building ' . $item->path . PHP_EOL; $directory = getcwd() . '/public/' . ($item->url() === '/' ? 'index.html' : ($item->url() . '/index.html')); diff --git a/app/Markdown/Parser.php b/app/Markdown/Parser.php index dd8e70f..5804a21 100644 --- a/app/Markdown/Parser.php +++ b/app/Markdown/Parser.php @@ -11,6 +11,7 @@ class Parser extends \ParsedownToC public function __construct() { parent::__construct(); + $this->highlighter = new Highlighter(); }