Skip to content

feat(crawl): accept markdown as an output format - #44

Merged
StefanoGuerrini merged 1 commit into
mainfrom
feat/crawl-markdown
Oct 14, 2026
Merged

StefanoGuerrini merged 1 commit into
mainfrom
feat/crawl-markdown

Conversation

@StefanoGuerrini

Copy link
Copy Markdown
Contributor

Summary

Crawl can now return each kept page as Markdown. create(output_format="markdown") sends it, OutputFormat.MARKDOWN names it, and content returns the Markdown text.

Changes

  • create accepts output_format="markdown" next to "html".
  • OutputFormat gains MARKDOWN.
  • The content docstring, the package docstring and the README say which format comes back.
  • Two tests: create sends markdown, and content returns Markdown text.

Checks

make check and make test pass (249 tests).

The Crawl API now returns each kept page as Markdown when a crawl is
created with output_format="markdown". create accepts it, OutputFormat
names it, and content returns the Markdown text.
@StefanoGuerrini
StefanoGuerrini marked this pull request as ready for review October 14, 2026 09:15
@StefanoGuerrini
StefanoGuerrini merged commit 1592826 into main Oct 14, 2026
2 checks passed
@StefanoGuerrini
StefanoGuerrini deleted the feat/crawl-markdown branch October 14, 2026 09:42
@github-actions github-actions Bot mentioned this pull request Oct 14, 2026
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.

1 participant