Skip to content

Pulling markdown file (for LLMs) includes comments #13561

@ryanechternacht

Description

@ryanechternacht

Which Fern component?

SDK Generator

How urgent is this?

P2 - Medium (Would be helpful)

What's the issue?

You can pull the markdown form of a webpage using Accept: text/markdown. This is cool, and ideal for supporting agents.

However, these pages are the raw markdown committed in git which contain comments ({/* ... */}) that are omitted from the html. If I'm omitting this from the HTML, i would expect that it would be omitted for agents as well. We already have <llms-ignore> and <llms-only> for content that should be visible to only humans xor agents.

Fern CLI & Generator Versions

No response

Workaround

No response

Are you interested in contributing a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions