Skip to content

Conversation

cmackdev
Copy link

Description of changes:

  • Adds custom anchor component to MARKDOWN_COMPONENTS
  • External links (http/https) now open in new tabs with target='_blank'
  • Includes rel='noopener noreferrer' for security
  • Internal links remain unchanged
  • Improves user experience by preventing navigation away from chat

Fixes: Users losing chat context when clicking external links

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Add custom anchor component to MARKDOWN_COMPONENTS
- External links (http/https) now open in new tabs with target='_blank'
- Includes rel='noopener noreferrer' for security
- Internal links remain unchanged
- Improves user experience by preventing navigation away from chat

Fixes: Users losing chat context when clicking external links
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