minted icon indicating copy to clipboard operation
minted copied to clipboard

minted is a LaTeX package that provides syntax highlighting using the Pygments library. Highlighted source code can be customized using fancyvrb.

Results 122 minted issues
Sort by recently updated
recently updated
newest added

switching from minted 2.1 to minted 2.5 added vertical space before and after listings only if these listings use the bgcolor option. example ``` \documentclass{beamer} \mode { \usetheme{Warsaw} \setbeamercovered{transparent} }...

bug

As the title suggests shell commands can get executed in the filename argument of the ```\inputminted``` command. ```latex \documentclass[10pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{minted} \begin{document} \inputminted{text}{file.txt; touch file2.txt} \end{document} ``` Here this...

bug

The total effect of `\setminted{gobble=1, gobble=2}` is `gobble=3`, but the expected is `gobble=2`. From https://tex.stackexchange.com/q/650135 **Example:** ```tex \documentclass{article} \usepackage{minted} \parindent=0pt \begin{document} \subsection*{minted works wrong} \setminted{gobble=1, gobble=2} expected: 3456 \begin{minted}{text} 123456...

bug

To explain me I created two examples. ```latex \documentclass{article} \usepackage{minted} \begin{document} \begin{minted}[breaklines, breakafter=\#, showspaces, space=~]{text} ==== q1 ==== Utilization of Srv [0.1453 ± 0.0043 (2.9895% | 20)# 0.0144 ± 0.0004...

I'm on Overleaf, using pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex 2017.7.12) My setup is that I do this for every chapter: ``` \chapter{Implementation} \import*{chapters/}{implementation.tex} ``` But if I...

duplicate
package clash
docs

`minted` seems to depend on `fvextra`, `catchfile`, `xstring`, and `framed`. Can you please add a `DEPENDS.txt` file to include them, so the dependencies can be automatically resolved when installing `minted`?...

Unfortunately, i am facing again a problem with breaklines and breakanywhere. I have "Hello world \mintinline{bash}|openwrt-22.03.0-rc1-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz|" and use \setminted[bash]{breaklines, breakanywhere}, but unfortunately that mintinline goes way over the page. Anyone...

Is there any chance to fix extra vertical spaces around minted code when used inside `tabular` environment? The problem is described on [StackExchange](http://tex.stackexchange.com/questions/188003/minted-environment-inside-tabular/) and the workaround (or solution) is provided....

enhancement?

How is autogobble supposed to work with file input? Is it supposed to do nothing, detect the indent from the entire file, or detect it from the given range? I'd...

bug

It would be awesome, if the inclusion of custom lexers was supported out of the box. I have tried a couple of routes, all of which stink in one way...

question
pygments?