Skip to content

Add initial Markdown support - #7

Merged
strzibny merged 3 commits into
masterfrom
markdown
Aug 18, 2026
Merged

Add initial Markdown support#7
strzibny merged 3 commits into
masterfrom
markdown

Conversation

@strzibny

Copy link
Copy Markdown
Contributor

No description provided.

@strzibny
strzibny requested a review from galetahub August 17, 2026 12:05

@galetahub galetahub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@strzibny, thanks for working on it! 👍

I only have a few questions.

Comment thread README.md Outdated

## Change log

* Unreleased - Add Markdown search and archive output support

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't released version 1.0.0 yet. Let's include this change in the first release.

Comment thread tests/ClientTest.php Outdated
public function testMdReturnsRawMarkdown()
{
$markdown = "---\nengine: google\n---\n\n## Organic Results\n";
$client = new StubClient([

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got this error in tests. It looks like the StubClient class isn't in this PR.

1) SerpApi\Tests\ClientTest::testMdReturnsRawMarkdown
Error: Class "SerpApi\Tests\StubClient" not found

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, forgot to include it, but now that I think about it it's not the right place to introduce stubbing, I will keep the test suite as is for now.

@galetahub galetahub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @strzibny, LGTM 👍

@strzibny
strzibny merged commit 8aa41f4 into master Aug 18, 2026
10 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants