Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown checkbox doesn't display well #3143

Open
MartinDelille opened this issue Dec 5, 2024 · 1 comment
Open

Markdown checkbox doesn't display well #3143

MartinDelille opened this issue Dec 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MartinDelille
Copy link

MartinDelille commented Dec 5, 2024

What steps will reproduce the bug?

Given the following test.md file:

- [ ] a

The output doesn't display well:
Screenshot 2024-12-05 at 14 49 56

I think there is a issue with my dark theme and bat output. I noticed even a simple markdown file containing just a word without mark
How did you install bat?

brew install bat

bat version and environment

Software version

bat 0.24.0

Operating system

macOS 14.6.1 (Darwin 23.6.0)

Command-line

bat --diagnostic test.md 

Environment variables

SHELL=/bin/zsh
PAGER=<not set>
LESS=<not set>
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
BAT_PAGER=<not set>
BAT_PAGING=<not set>
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=<not set>
XDG_CACHE_HOME=<not set>
COLORTERM=truecolor
NO_COLOR=<not set>
MANPAGER=<not set>

System Config file

Could not read contents of '/etc/bat/config': No such file or directory (os error 2).

Config file

Could not read contents of '/Users/martindelille/.config/bat/config': No such file or directory (os error 2).

Custom assets metadata

Could not read contents of '/Users/martindelille/.cache/bat/metadata.yaml': No such file or directory (os error 2).

Custom assets

'/Users/martindelille/.cache/bat' not found

Compile time information

  • Profile: release
  • Target triple: aarch64-apple-darwin
  • Family: unix
  • OS: macos
  • Architecture: aarch64
  • Pointer width: 64
  • Endian: little
  • CPU features: aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh
  • Host: aarch64-apple-darwin

Less version

> less --version 
less 581.2 (POSIX regular expressions)
Copyright (C) 1984-2021  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less

Edit: it display well using a light terminal theme.

@MartinDelille MartinDelille added the bug Something isn't working label Dec 5, 2024
@MartinDelille
Copy link
Author

Screenshot 2024-12-05 at 14 58 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant