text: Title: copying code in console snippets ignores line break
  Body: when clicking on console snippets:
  
  ![image](https://user-images.githubusercontent.com/989250/169677547-18fde026-2e17-4659-ad78-16639b3027da.png)
  
  https://docs.ploomber.io/en/docs/use-cases/research.html
  
  The contents are copied to the clipboard, but the line break is ignored, causing the clipboard to contain:
  
  ```
  pip install ploomberploomber examples -n cookbook/grid -o grid
  ```
  
  when it should be:
  
  ```
  pip install ploomber
  ploomber examples -n cookbook/grid -o grid
  ```
  