Repository navigation
Is it possible to use bat for code blocks?
#797
Answered
by
mfontanini
winstxnhdw
asked this question in
Q&A
|
Currently, code blocks have a different background colour from the terminal. Would be nice if it could also use
|
Answered by
mfontanini
Nov 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can change the theme used for snippet highlighting, and you can use
+line_numbersfor them to show line numbers on the left. Otherwise there's a note on how to runbatdirectly in the docs.