powered by
Detects if the call is made from within an RStudio Rmd file or a file with the html_notebook output set.
prIsNotebook()