Skip to content

Question: Show rendered file in plain mode #20437

Closed
@r10r

Description

@r10r

Description

How can I show a rendered file (e.g markdown) in plain mode ?

I need this to jump from an external search server zoekt to the line of a file which is rendered by default (e.g markdown files) or by an external renderer.

The answer should be added to https://docs.gitea.io/en-us/external-renderers/.

E.g gitub allows to disable rendering and shows the source blob when the
URL attribute plain=1 is append.

https://github.com/sourcegraph/zoekt/blob/master/doc/indexing.md?plain=1

Screenshot 2022-07-21 at 17 48 10

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

helm chart

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions