Skip to content

bat display markdown wrongly  #2781

Open
@laoshaw

Description

@laoshaw

What steps will reproduce the bug?

  1. cat myfile.md
  2. make sure myfile has something like: * this is my text
  3. you will see the wrong highlight, in the * will mess up the output display

What happens?

image

...

What did you expect to happen instead?
normal color
...

How did you install bat?

cargo install


bat version and environment
bat 0.22.1 (e5d9579)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions