From 3e109a57d5394f8ca2700d85f5424a4625869578 Mon Sep 17 00:00:00 2001 From: JesusValera Date: Wed, 26 Nov 2025 00:29:17 +0100 Subject: [PATCH] Apply color to missing functions --- build/src/ApiGenerator/Application/ApiMarkdownGenerator.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/src/ApiGenerator/Application/ApiMarkdownGenerator.php b/build/src/ApiGenerator/Application/ApiMarkdownGenerator.php index 6cb003b..282340d 100644 --- a/build/src/ApiGenerator/Application/ApiMarkdownGenerator.php +++ b/build/src/ApiGenerator/Application/ApiMarkdownGenerator.php @@ -70,12 +70,10 @@ private function buildFunctionSection(PhelFunction $fn): array } // Handle exceptional documentation blocks + $input = preg_replace('/```phel/', '```clojure', $fn->doc); if ($fn->name === 'with-mock-wrapper' || $fn->name === 'with-mocks') { - $input = preg_replace('/```phel/', '```clojure', $fn->doc, 1); $input = preg_replace('/^[ \t]+/m', '', $input); $input = preg_replace('/(?doc; } $lines[] = $input;