I have a code snippet where I use minted for nice display:
\begin{figure}[H]
\begin{minted}[
frame=single,
obeytabs=true,
tabsize=4,
linenos,
numbersep=6pt
]{json}
{
"employee": {
"name": "test",
"salary": 56000,
"married": true
}
}
\end{minted}
\end{figure}
However, I can't get the line numbers to be inside the frame.
This seems to be a common problem and was discussed before, but other solution suggested to use xleftmargin=\parindent,
which did not help.
How can I fix this problem?