You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put an X in this box if you have done the following:
Ensured the issue has not already been raised
Ensured the issue is caused by this package
Description
Possible option to suppress code highlighting in "corner cases". I'm trying to insert bash script with the minted package, but the bash characters such as $ complicate the text highlighting.
Steps to reproduce & Minimum working example
Inside a regular latex file (in our case using the \usepackage{minted}, but probably more widespread).
Regular text...
\begin{minted}[mathescape,breaklines, bgcolor=bg,xleftmargin=1mm
]{bash}
cut -f2 file1.txt | awk ' { if ($1 != 0) { print } } ' > file2.txt
cut -f3 file3.txt | awk ' { if ($1 != 0) { print } } ' > outfile.txt
\end{minted}
Regular text, but now highlighting is green and inconsistent.
Suggestion
If the feature does not already exist (could not find any documentation or other comments), maybe a method to suppress highlighting:
text
%%%language-latex suppress begin
\begin{minted}
...
\end{minted}
%%%language-latex suppress end
more text with consistent highlighting.
Additional Information
Ubuntu 16.04
Atom text editor
language-latex 1.2.0
latex 0.50.0 package
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I raised a similar issue once, but it was not wanted. I'm not going to just add it in now that I'm the only one here, but my own grammar package has it.
Prerequisites
X
in this box if you have done the following:Description
Possible option to suppress code highlighting in "corner cases". I'm trying to insert bash script with the
minted
package, but the bash characters such as$
complicate the text highlighting.Steps to reproduce & Minimum working example
Inside a regular latex file (in our case using the \usepackage{minted}, but probably more widespread).
Suggestion
If the feature does not already exist (could not find any documentation or other comments), maybe a method to suppress highlighting:
Additional Information
language-latex 1.2.0
latex 0.50.0
packageThanks in advance!
The text was updated successfully, but these errors were encountered: