Open muzimuzhi opened 3 years ago
see also #215 and #133
Just find minted
uses \RecustomVerbatimEnvironment{Verbatim}{BVerbatim}{}%
to do the trick
(\minted@inline@iii
if not in draft mode)
https://github.com/gpoore/minted/blob/5d72859d714a6f2f6a42eec524476994d954b960/source/minted.dtx#L3209-L3216
The latest minted
v3 beta now has an envname
option and some backward compatibility fixes so that tcolorbox
will work. This requires the dev version of fvextra
; a new fvextra
release will be out within the next few days.
Thanks. I've informed the of tcolorbox
of this change, see https://github.com/T-F-S/tcolorbox/issues/2#issuecomment-2309539142.
By default,
pygments
puts highlighted tex codes inVerbatim
environment. This is configurable by CLI option-P envname=<name>
(see related doc ofpytments
), and packages liketcolorbox
seem to need this, see https://github.com/T-F-S/tcolorbox/issues/2#issuecomment-695112384.The implementation could be as simple as