Skip to content

Render pages in Markdown if User-Agent is known LLM or Accept: text/markdown #3673

@robd003

Description

@robd003

Describe the feature you'd like to see included in Oxygen.
If the current request is coming from a known LLM AI bot like GPTBot / Claude-User then don't render the page with full HTML. It would be much more efficient for the agent if we just returned the content in Markdown.

What are the use cases for this feature?
If you return Markdown instead of HTML then the agent will index Oxygen websites much easier. Most LLMs will actually prefer websites that return content in Markdown and skip over HTML-only sites.

You could also look for Accept: text/markdown

Examples of this feature or functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions