Features
@Mentions
URL Mentions

Web Content Integration

Bwat's web reference feature allows you to directly incorporate online resources into your development conversations by simply prefixing URLs with @.

How to Use

Type @ followed by a complete URL (e.g., 'https://docs.example.com (opens in a new tab))' (see below for site content)

Bwat will automatically:

  • Fetch the webpage content
  • Preserve formatting and code samples
  • Maintain the document structure
  • Include relevant technical details

Implementation Examples

API Development

Need help implementing: 'https://stripe.com/docs/api (opens in a new tab)' (see below for site content)

Here's my current code: 'src/payment.js' (see below for file content)

Error Resolution

Seeing this error: 'https://stackoverflow.com/questions/12345 (opens in a new tab)' (see below for site content)

My implementation: 'src/api/client.js' (see below for file content)

Library Usage

Implementing: 'https://reactjs.org/docs/hooks-reference.html (opens in a new tab)' (see below for site content)

How should we structure our custom hook?

Technical Details

When you include a web reference:

  • Bwat detects URLs prefixed with @
  • Securely fetches the page content
  • Structures the information as:
WEB CONTENT FROM: https://example.com/docs

API Reference v2.1
==================

Authentication
--------------
- Required headers:
  * Authorization: Bearer {token}
  * Content-Type: application/json

Example request:
```javascript
fetch('/auth', {
  method: 'POST',
  headers: { /*...*/ }
})

Incorporates this formatted content into the conversation

## Key Benefits

- No manual copying/pasting of documentation
- Always references current, live documentation
- Preserves all code samples and formatting
- Works with technical documentation, GitHub issues, and more
- Maintains complete context from source materials

This approach eliminates XML-style tags while maintaining all functionality and providing clear, error-free integration of web content.