Skip to content

Code with strikethrough in markdown #34786

Open
@stone-zeng

Description

@stone-zeng

Description

Code with strikethrough (like ~~`code`~~) will be rendered with double delete lines. It may be resolved by removing the following CSS rule:

.markup del code {
  text-decoration: inherit;
}

Note that this issue can be found in GitHub as well.

Screenshots

Image

Gitea Version

1.25

Can you reproduce the bug on the Gitea demo site?

Yes. See See https://demo.gitea.com/stone-zeng/test#readme.

Operating System

No response

Browser Version

Chrome 138.0 and Firefox 140.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions