Skip to content

Underscores should not italicize inside of a code block in Markdown #8861

@ethanblake4

Description

@ethanblake4

When displaying a code block in Markdown, the pub.dev site italicizes text following an underscore character, which should only happen outside of a code block. However, it does (correctly) display the underscore character as well.

To reproduce: Publish a package with a readme containing:

```
├── test_one
│   └── test2
│       └── test_three
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions