SQL rendering in Rmarkdown laptop, not just knit

If I have an R-block in my Rmarkdown notebook, the code is displayed in the file nb.html. However, if I have an SQL block, I cannot find a way to make the code visible in the rendered file.

However, if I create html_document(the standard class) instead html_notebook, the displayed HTML contains the SQL code (and the output).

Is there a way to get a laptop outlet to make something closer to what a knitted outlet does?

+4
source share
1 answer

I recently came across this, Harlan, and started by asking if there was a way to get the output of a laptop more than knit.

, , , , .

RStudio , YAML, html_document, RMD. , :

output:
  html_document:
    code_download: true

, . , .

+1

Source: https://habr.com/ru/post/1666732/


All Articles