Bat: some markdown highlightings are not implemented with BAT_THEME=1337

Created on 26 Aug 2020  路  3Comments  路  Source: sharkdp/bat

What version of bat are you using?
bat 0.15.4

Describe the bug you encountered:
With BAT_THEME=1337, some markdown highlighting do not work, for instance:

  • chapter #
  • italic *foo*
  • bold **foo**

bat

Describe what you expected to happen?
Highlights like in the README's screenshot: https://github.com/sharkdp/bat#syntax-highlighting

How did you install bat?
GitHub release

Thanks for the amazing project :heart:


system

$ uname -srm
Linux 5.7.0-2-amd64 x86_64

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye

bat

$ bat --version
bat 0.15.4

$ env
BAT_THEME=1337

bat_config

bat_wrapper

No wrapper script for 'bat'.

bat_wrapper_function

No wrapper function for 'bat'.

No wrapper function for 'cat'.

tool

$ less --version
less 551 (GNU regular expressions)

themes upstream-error

Most helpful comment

Looks like there is an open issue for this upstream already: https://github.com/MarkMichos/1337-Scheme/issues/1

All 3 comments

Looks like there is an open issue for this upstream already: https://github.com/MarkMichos/1337-Scheme/issues/1

Here is the list of themes which don't support Markdown properly:

  • 1337
  • GitHub
  • Sublime Snazzy
  • zenburn

Thanks for the amazing project

Thank you for the feedback!

Unfortunately, there is nothing we can do here. Someone would need to go ahead and extend these themes to properly support Markdown. As soon as the upstream projects are updated, we will incorporate the changes here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tbsvttr picture tbsvttr  路  3Comments

sharkdp picture sharkdp  路  3Comments

scalp42 picture scalp42  路  3Comments

x70b1 picture x70b1  路  3Comments

gwpl picture gwpl  路  3Comments