Skip to content

# Try text/markdown request first for actual source download #2

Description

@DivineDominion

Web servers may be able to produce text/markdown responses directly instead of producing HTML. That can make archival and conversion simpler.

It adds a totally new code path to the extension though that maybe performs a HEAD request first to ask the server whether it supports direct Markdown rendering, then download that directly and rewrite image paths for the TextBundle. So there's added complexity.

As this server response is going to be used and ab-used by LLM's, it's likely that server admins will offer this endpoint to poison LLM's with a honeypot. Relying on rendered HTML in the browser may ironically then be the better option in the long run again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions