-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
bat does not colorize puppet code block inside markdown #3148
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
What steps will reproduce the bug?
bat x.md x.pp
What happens?
I expected to see the code block inside the markdown highlighted as per the second file in the above example.
How did you install bat?
brew install bat
nolan:nci-helper-scripts callie$ bat x.md x.pp --diagnostic
Software version
bat 0.24.0
Operating system
macOS 15.2 (Darwin 24.2.0)
Command-line
bat x.md x.pp --diagnosticEnvironment variables
SHELL=/usr/local/bin/bash
PAGER=<not set>
LESS=<not set>
LANG=C
LC_ALL=<not set>
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
--theme="Dracula"
Custom assets metadata
Could not read contents of '/Users/callie/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/Users/callie/.cache/bat' not found
Compile time information
- Profile: release
- Target triple: x86_64-apple-darwin
- Family: unix
- OS: macos
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: cmpxchg16b,fxsr,pclmulqdq,popcnt,sse,sse2,sse3,sse4.1,sse4.2,ssse3
- Host: x86_64-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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
