Skip to content

Commit

Permalink
Add comment environment to the list of verbatim environments
Browse files Browse the repository at this point in the history
  • Loading branch information
nimashoghi committed Oct 17, 2024
1 parent 5a42eb9 commit ba19bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const LISTS: [&str; 5] = [
];

/// Names of LaTeX verbatim environments
const VERBATIMS: [&str; 4] = ["verbatim", "Verbatim", "lstlisting", "minted"];
const VERBATIMS: [&str; 5] = ["verbatim", "Verbatim", "lstlisting", "minted", "comment"];

// Regexes
lazy_static! {
Expand Down

0 comments on commit ba19bc4

Please sign in to comment.