Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

Code block : bad display of long string #280

Open SorCelien opened 2 years ago

SorCelien commented 2 years ago

I have this code in a code block in my markdown file :

$ ./test aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
command stored
zsh: segmentation fault  ./test

here is my command to generate the pdf :

$ pandoc -s file.md -o file.pdf --from markdown --template ./eisvogel.tex --listings --pdf-engine=xelatex

here is the render in my pdf :

preview

do you have an idea to improve the rendering? I'm new to pandoc and latex, I would like to make automatic line breaks like in typora.

render in typora :

typora

thank you

borari commented 1 year ago

Has anything been done about this issue? I am experiencing the same thing.