Is it possible to wrap long lines of code in a PDF? #5728
-
DescriptionLet's say I have a document like this: ---
format:
pdf:
colorlinks: true
---
```python
def main():
# Do some stuff...
response = requests.request("GET", "https://codeberg.org/api/v1/repos/search", data="", params=querystring)
# Do more stuff...
``` Is there any way I can prevent the PDF from looking like this without manually changing the code structure? I saw it's possible with HTML: https://quarto.org/docs/output-formats/html-code.html#code-overflow but is there anything like this for PDF? Quarto version: 1.3.333 |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
May 29, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
magical-heyrovsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing this as duplicate of #4121 (and #3693)