Skip to content

Conversation

@ryanfowler
Copy link
Owner

No description provided.

@ryanfowler ryanfowler requested a review from Copilot January 26, 2026 21:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds HTML formatting support to the fetch tool, enabling automatic formatting and syntax highlighting for HTML responses.

Changes:

  • Added HTML formatter implementation with proper indentation and syntax highlighting
  • Integrated HTML content type detection and formatting into the fetch pipeline
  • Updated documentation to include HTML in the list of supported formats

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
internal/format/html.go Implements HTML parsing, formatting with indentation, and syntax highlighting
internal/format/html_test.go Comprehensive test suite covering HTML formatting edge cases
internal/fetch/fetch.go Adds HTML content type detection and integrates HTML formatting
docs/USAGE.md Documents HTML as a supported format
README.md Updates feature list to include HTML formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryanfowler ryanfowler merged commit 57c6491 into main Jan 26, 2026
10 checks passed
@ryanfowler ryanfowler deleted the html branch January 26, 2026 21:46
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