mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #19882 from overleaf/mj-tcblisting
[web] Mark tcblisting as verbatim GitOrigin-RevId: a64602b2b0d41c32e5f8612f190c6f5f8382f94b
This commit is contained in:
parent
e10478f256
commit
c117483761
2 changed files with 4 additions and 1 deletions
|
@ -1820,7 +1820,9 @@ const EnvHandler = function (TokeniseResult, ErrorReporter) {
|
|||
// flag any verbatim environments for special handling
|
||||
if (
|
||||
name &&
|
||||
name.match(/^(verbatim|boxedverbatim|lstlisting|minted|Verbatim)$/)
|
||||
name.match(
|
||||
/^(verbatim|boxedverbatim|lstlisting|minted|Verbatim|tcblisting)$/
|
||||
)
|
||||
) {
|
||||
delimiter.verbatim = true
|
||||
}
|
||||
|
|
|
@ -697,6 +697,7 @@ const verbatimEnvNames = new Set([
|
|||
'minted',
|
||||
'Verbatim',
|
||||
'lstlisting',
|
||||
'tcblisting',
|
||||
'codeexample',
|
||||
'comment',
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue