title: Text Blocks in Rmarkdown
body: <p>I really like how text blocks look like when used in a code chunk. I even like the border of the box that wraps the text shading. I'm struggling to wrap text correctly either using <code>cat('Some paragraph here', comment=NA)</code> or <code>Some paragraph here</code>. I noticed there's a lot of stackoverflow questions dealing with <code>\n</code> strategies or <code>width</code> options. I also found that the author does not recommend using <code>cat</code> but instead using <code>message</code> or formatting as a block. See <a href="https://bookdown.org/yihui/bookdown/custom-blocks.html" rel="nofollow noreferrer">here</a></p>
  
  <p><strong>Here's an example of a paragraph that will not render properly.</strong></p>
  
  <pre><code>```{r comment=NA}
  cat('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.')
  ```
  </code></pre>
  
  <p>I understand that what I'm asking might be something <code>knitr</code>and <code>rmarkdown</code> were not designed for. However, if there are implementations with css (which I'm not familiar with), how should one write those <code>style.css</code>? </p>
  
  <p>In the example, it goes like </p>
  
  <pre><code>```{block, type=FOO}
  Your long text here
  ```
  </code></pre>
  
  <p>And you will have to include a <code>style.css</code></p>
  
  <pre><code>div.FOO {
    font-weight: bold;
    color: red;
  }
  </code></pre>
  
  <p>(Which my little knowledge tells me it's not for producing the code blocks I want.). You should include them in the YAML somehow.</p>
  
  <p>I couldn't find examples of these style.css files that people use to format text in that way. <strong>My question is How to do this?</strong></p>