Skip to content

Why isn't an environment created with \newtcblisting treated as a verbatim environment? #3285

Closed Answered by sujaldev
sujaldev asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind, I just found this and it does seem to solve my problem:

host.getEnvironmentName().endsWith("code", ignoreCase = false) -> {
// Environment may have been defined with the \newminted shortcut (see minted documentation)
host.getEnvironmentName().remove("code")
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PHPirates
Comment options

Answer selected by sujaldev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants