-
Notifications
You must be signed in to change notification settings - Fork 958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax Highlighting Without Listings Cannot Wrap #2
Comments
Unfortunately this is a general problem with the verbatim environment and it exists in the default pandoc template as well (see jgm/pandoc#277). It seems that there is currently no way for me to fix this.
|
@Wandmalfarbe Fine, It seems that it's an upstream issue. BTW, thx you advice. |
@Wandmalfarbe yeah, package spverbatim worked fine for handling breaks in verbatim output. |
I'm no expert at redefining or modifying LaTeX commands but googled a bit around and found this post https://tex.stackexchange.com/a/309073. I also think it would be possible to use a custom pandoc filter for replacing |
@Wandmalfarbe You could use Or see this manual way to do with Please re-open because pandoc won't fix that any time soon. |
Yes, I actually saw that comment (jgm/pandoc#4302 (comment)) in the pandoc issue tracker but forgot to implement it. Thank you for reminding me 😄.
This example doesn't actually use
to break long lines. This only applies when compiling your pandoc document with the option |
You're welcome.
My bad I didn't read the code :( |
That was quick, I need to test that :) |
@Wandmalfarbe I was able to use a better syntax highlight (noraj/OSCP-Exam-Report-Template-Markdown@486237e) thanks to you :) |
@Wandmalfarbe Still a small issue: When the wrapped line is the last line of a page: I goes out of the box. |
It always makes me happy to hear about people using my work and appreciating what I make! That readme looks great!
Please open a new issue so we don't spam this one. |
If I use syntax highlighting without listings. The code cannot wrap just like listings.
The text was updated successfully, but these errors were encountered: