title: How to wrap a long string when making a pdf document in markdown/knitr`
body: <p>I have an Rmd script that reads in a file for processing. As a part of the report, I am printing the path to that file for clarity and consistency. When that file is heavily nested (inside a number of folders) the length of the file path becomes too long to print on a single line. Is there a way to force a word break in the Rmd code that will print the path on 2 lines if it is longer than can be shown on a single line? </p>
  
  <p>Example: </p>
  
  <pre><code>---
  title: "Test"
  author: "Test"
  date: "10/13/2016"
  output: pdf_document
  ---
  
  ```{r setup, include=FALSE}
  knitr::opts_chunk$set(echo = TRUE)
  knitr::opts_chunk$set(tidy = TRUE)
  ```
  
  #Set Variable
  ```{r VarDef}
  File &lt;- "~/Documents/Data/StudyData/WGS/FolderName1/FolderName2/FolderName3/ExtraLongBacteriaName_Details_pass_2D.fasta"
  ```
  
  
  This is a test RMD file as an example. The file name causing issue is:
  
  **`r File`**
  
  I would like to be able to have this name break at the end of the page and continue on a second line.
  </code></pre>