typescript code block not highlighted in markdown #2084
Open
Description
Describe the bug you encountered:
markdown code block of typescript is not highlighted
...
What did you expect to happen instead?
it should be highlighted similar to javascript as shown in pic below
...
How did you install bat
?
cargo install bat
bat version and environment
Software version
bat 0.19.0
Operating system
Linux 5.13.0-30-generic
Command-line
/home/laoshaw/.cargo/bin/bat --diagnostic
Environment variables
SHELL=/bin/bash
PAGER=<not set>
LESS=<not set>
LANG=en_US.UTF-8
LC_ALL=<not set>
BAT_PAGER=<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='sh -c '\''col -bx | bat -l man -p'\'''
Config file
Could not read contents of '/home/laoshaw/.config/bat/config': No such file or directory (os error 2).
Compile time information
- Profile: release
- Target triple: x86_64-unknown-linux-gnu
- Family: unix
- OS: linux
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: fxsr,sse,sse2
- Host: x86_64-unknown-linux-gnu
Less version
> less --version
less 551 (GNU regular expressions)
Copyright (C) 1984-2019 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: http://www.greenwoodsoftware.com/less