Skip to content

Syntax highlighting for Slim templates (.slim) #23338

Open
@anthony-robin

Description

@anthony-robin

Feature Description

Currently, Gitea does not display any color for .slim views templates in pull request reviews or in markdowns.

Slim is a template language for views that is used in the Ruby language.

It could be a good feature to add a syntax highlighting for it, what do you think ?

Screenshots

Slim preview in markdown with Gitea

Capture d’écran 2023-03-06 à 19 01 54

Slim preview in mardown with Github

Capture d’écran 2023-03-06 à 19 04 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.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