Skip to content

Syntax highlighting: format Jinja2 files - filename.<file format>.j2 - as <file format> #31797

Open
@yonas

Description

@yonas

Description

For example, filename.toml.j2 should be syntax highlighted in the file preview / file editor as a TOML file.

Gitea Version

latest

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?

self-hosted command line.

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions