gpoore / minted

minted is a LaTeX package that provides syntax highlighting using the Pygments library. Highlighted source code can be customized using fancyvrb.
1.74k stars 126 forks source link

breaksymbolleft flush with line numbers #384

Closed mstarodub closed 7 months ago

mstarodub commented 8 months ago

Using breaklines, the break symbol is indented to the level of the preceding line. What I would like is the symbol to be aligned with the line numbers instead: image

Additionally, an option to mark the next line as a continuation of the preceding one (like the slightly light background before the word store in the image) would be great. This could be e.g. a thin horizontal bar.

gpoore commented 8 months ago

The line breaking is implemented in fvextra. Unfortunately, the line numbering and line breaking are implemented separately, so I don't believe there is a way to get what you want without redesigning much of what currently exists.

mstarodub commented 7 months ago

Thanks, I understand. I'll close this then.