title: Wrapping long string in knitr code block
body: <p>I'm gratuitously using <code>knitr</code> to write a formal PDF document. I would like to use a code block instead a block quote because... it's funny. However, the paragraph that I would like to put in the code block doesn't wrap to the box. How can I do this? I've tried the following:</p>
  
  <pre><code>\documentclass[a4paper]{article}
  \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
  \usepackage{csquotes}
  \begin{document}
  
  &lt;&lt;setup, include=FALSE, results='hide', cache=FALSE&gt;&gt;=
  opts_chunk$set(echo=FALSE, warning = FALSE, message = FALSE, cache = FALSE, error = FALSE)
  @
  
  Some text
  
  &lt;&lt;tidy=TRUE, width=50, comment=NA&gt;&gt;==
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
  eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
  ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut     
  aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit
  in voluptate velit esse cillum dolore eu fugiat nulla pariatur.     
  Excepteur sint occaecat cupidatat non proident, sunt in culpa qui 
  officia deserunt mollit anim id est laborum."
  @
  
  \end{document}
  </code></pre>
  
  <p>...Which gives this:</p>
  
  <p><a href="https://i.stack.imgur.com/Urc71.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Urc71.png" alt="enter image description here"></a></p>
  
  <p>I tried <a href="https://stackoverflow.com/questions/24020617/textwrapping-long-string-in-knitr-output-rstudio">this</a> solution but I'd like to avoid numbering each row. I've also tried pasting in "\n" to do line breaks to no avail. </p>